Last.FM wrapper by Infrared LLC.
Project description
maybe we scrobble.
maybe we don’t.
what is this
infrared.fm
a simple last.fm wrapper powering
infrared
built for speed. async. clean.
- user, artist, album, track, and chart endpoints
how to
import asyncio
from infrafm import LastFMClient
async def main():
lfm = LastFMClient("your_lastfm_api_key")
track = await lfm.user.get_now_playing("infrared")
if track:
print(f"🎧 {track.name} — {track.artist}")
else:
print("No track playing.")
await lfm.close()
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
infrared_fm-2.0.0.tar.gz
(11.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file infrared_fm-2.0.0.tar.gz.
File metadata
- Download URL: infrared_fm-2.0.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7f7aca8cb3f944372cb3e380a4d8916314bdd2fd25ffaa1b27f443649ce80d2
|
|
| MD5 |
6ef1745253f4abe11e36b97d14a65d52
|
|
| BLAKE2b-256 |
081413a373444400b39364f731b7cbe581f9b86b42faff26aaa6f1490d666fec
|
File details
Details for the file infrared_fm-2.0.0-py3-none-any.whl.
File metadata
- Download URL: infrared_fm-2.0.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9df61a8bf9b277e5c7d6857c0af1cc67c5b32b69c655cb639f245b669048f777
|
|
| MD5 |
d12b1f25cd30741908caebbf4e451bd6
|
|
| BLAKE2b-256 |
fe475297e4f60eda3eeb876ef6c9acf0ac2aafa30b37206f65b60ac9a3429688
|