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.5.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.5.0.tar.gz.
File metadata
- Download URL: infrared_fm-1.5.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 |
6a74096d53c26dda61e8bb67f6ddec3d1d489edec97f59e6e4994945526b4aac
|
|
| MD5 |
3529957c01e6eb42d947d9c3988a8c0d
|
|
| BLAKE2b-256 |
16196009f3c0cb6d5e96bcd3f61abc5923f2ce3bf831259b43bf7c91eb70f2ad
|
File details
Details for the file infrared_fm-1.5.0-py3-none-any.whl.
File metadata
- Download URL: infrared_fm-1.5.0-py3-none-any.whl
- Upload date:
- Size: 14.6 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 |
6a7ab189a3b9caad30d6b2e7e50cee910d013ac0ab619fa37fc122cbffb413ef
|
|
| MD5 |
9618722a77e17f7c8d791ef5b1925ed2
|
|
| BLAKE2b-256 |
2d7d4fbf098e95bbeb4e85d8d91b93cc42175406d35ed0fc4fef6fc42cbf85fb
|