Metadata-Version: 2.1
Name: last-fm-api-client
Version: 0.2.1
Summary: 
Author: William04A
Author-email: 35110380+William04A@users.noreply.github.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: pydantic (>=1.10.8,<2.0.0)
Description-Content-Type: text/markdown

# Last.FM API Client

A partially complete Python wrapper for the Last.FM API that implements the functions that I need for my Album of the day website.

The wrapper uses `pydantic` models to parse responses which allows better type validation.

### Implemented API methods

The following [Last.FM API methods](https://www.last.fm/api/intro) are implemented:
* `album.getInfo` - get information about an album
* `artist.getInfo` - get information about an artist
* `tag.getInfo` - get information about a tag
* `user.getRecentTracks` - retrieve scrobbles

### Changelog:
* `v0.2.1`: Fixed empty album text being converted to None.
* `v0.2.0`: Better handling of unset/empty Last.FM values.

   **Breaking changes:**
  * The field `Album.Tracks` is now optional and may return `None`.
  * Same applies for all image fields.
* `v0.1.0`: Initial release
