Last.FM wrapper by Infrared LLC.
Project description
maybe we scrobble.
maybe we don’t.
what is this
infrared.fm
the last.fm wrapper powering
infrared
built for speed. async. clean.
- user, artist, album, track, and chart endpoints
- powers dynamic embed views: nowplaying, charts, stats
- no extra weight, just flex
how to
import asyncio
from infrafm import LastFMClient
lfm = LastFMClient("your_lastfm_api_key")
async def main():
track = await lfm.user.get_now_playing("opexwtf")
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-1.2.0.tar.gz
(10.2 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-1.2.0.tar.gz.
File metadata
- Download URL: infrared_fm-1.2.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4026e34e5eb9defb2bb0a9181987e346f87a085b9790f22bd9b82e911cecb33
|
|
| MD5 |
e7111a42869cb5c94b372fdb15714b2f
|
|
| BLAKE2b-256 |
e0423ad5c134cee758f9121854ad4389c219716bf0bfcdd56953f4026b8b7487
|
File details
Details for the file infrared_fm-1.2.0-py3-none-any.whl.
File metadata
- Download URL: infrared_fm-1.2.0-py3-none-any.whl
- Upload date:
- Size: 14.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 |
1ff77413ff150cc0c085b6ff863a58fae46dbb57d8e3740919c4cd58cca472e5
|
|
| MD5 |
c7d02b847b115e0f86acd69b9e9bb432
|
|
| BLAKE2b-256 |
57679498b9ddb8ebc4fe92e180955d40d307fb2375d499e276db459816e16699
|