Metadata-Version: 2.1
Name: lastfm-py
Version: 0.0.1
Summary: An asynchronous LastFM API wrapper
Home-page: https://github.com/twitch0001/lastfm-py
Author: twitch7443
Author-email: twitch7443@pm.me
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown

# lastfm-py
An asynchronous Python Last.FM API wrapper

## Installation

This project will be on PyPi once it is functional

Linux
```sh
python3 -m pip install -U lastfm-py
```
Windows
```sh
py -m pip install -U lastfm-py
```

## Examples

### Getting a user's recent scrobbles
```Python
import lastfm
import asyncio

client = lastfm.Client('client_key') # Replace with your client key (client_secret is optional)

async def main():
    recent_tracks = await client.get_recent_tracks("username", limit=5)
    print(recent_tracks[0].title) # prints the title of the users most recently scrobbled track

asyncio.run(main())
```


