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-1.8.0.tar.gz
(11.7 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.8.0.tar.gz.
File metadata
- Download URL: infrared_fm-1.8.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ca49537121be7a12939965654c465ad488a412288ab9954d65abe0eb5f07a81
|
|
| MD5 |
857fa7260f20c2f6a55776f24ff0c888
|
|
| BLAKE2b-256 |
8c36c69c8dea30218a69a3363e0d941d714f3e8497453efc48e3e11a4f8b3092
|
File details
Details for the file infrared_fm-1.8.0-py3-none-any.whl.
File metadata
- Download URL: infrared_fm-1.8.0-py3-none-any.whl
- Upload date:
- Size: 16.3 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 |
e9fc260b2a37d551415cf78e832ea51cffbf8abb5def5c8300c57317613a7fa9
|
|
| MD5 |
2ce6cc3c8daead4804b10b5819052450
|
|
| BLAKE2b-256 |
95e8ffec0dd929101389ca12ff10106c8d15453b2bb8973b9d2cd561f1cb5a7a
|