lastfm-py
An asynchronous Python Last.FM API wrapper
Installation
This project will be on PyPi once it is functional
Linux
python3 -m pip install -U lastfm-py
Windows
py -m pip install -U lastfm-py
Examples
Getting a user's recent scrobbles
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())
Metadata
Release files for lastfm-py 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lastfm-py-0.0.12.tar.gz | 3.5 kB | Without provenance | Details for lastfm-py-0.0.12.tar.gz |
Release files / lastfm-py-0.0.12.tar.gz
| Download URL | lastfm-py-0.0.12.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fd201c96d12854cf72af1e6157d0df20da327f00e892e7945673ffa264bf67f
|
|
BLAKE2b-256 checksum How to use checksums |
8ab0a4ab082df46b123142e80f5d15e8ed41292661e6c40663a444269266eb3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.1
|
Security for lastfm-py 0.0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.