Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odesli API Wrapper

Python 3.11 MIT License

A fast and asynchronous wrapper for the Odesli (song.link, album.link) written in Python

API Documentation: notion.site

Features

  • Asynchronous API requests for improved performance.
  • Easy integration into existing asyncio-based Python projects.
  • Utilizes caching with aiohttp_client_cache for efficient handling of repeated API requests.

Installation

pip3 install git+https://github.com/ulbwa/odesli_api_python

or

poetry add git+https://github.com/ulbwa/odesli_api_python

Usage example

import 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())

About

A fast and asynchronous wrapper for the Odesli (song.link, album.link) written in Python.

Resources

Stars

1 star

Watchers

2 watching

Forks

Used by

Contributors

Languages