Odesli API Wrapper
A fast and asynchronous wrapper for the Odesli (song.link, album.link) written in Python
API Documentation: notion.site
- Asynchronous API requests for improved performance.
- Easy integration into existing asyncio-based Python projects.
- Utilizes caching with
aiohttp_client_cachefor efficient handling of repeated API requests.
pip3 install git+https://github.com/ulbwa/odesli_api_pythonor
poetry add git+https://github.com/ulbwa/odesli_api_pythonimport asyncio
from odesli_api import Odesli
odesli = Odesli()
async def main():
links = await odesli.links_by_url("https://open.spotify.com/album/5Z9iiGl2FcIfa3BMiv6OIw?si=6Vb9yJiKSM6C0lpyfPZbfQ")
print(links)
asyncio.run(main())