Example Usage
>>> from dotify import Dotify, Track
>>> with Dotify(SPOTIFY_ID, SPOTIFY_SECRET):
>>> result = next(Track.search("SAINt JHN 5 Thousand Singles", limit=1))
>>> result
<Track "SAINt JHN - 5 Thousand Singles">
>>> result.url
'https://open.spotify.com/track/0fFWxRZGKR7HDW2xBMOZgW'
>>> result.download("SAINt JHN - 5 Thousand Singles.mp3")
PosixPath('SAINt JHN - 5 Thousand Singles.mp3')
Feel free to check the examples folder for more use cases!
Features
- Searching for
- Downloading
Documentation
The project's documentation can be found here.
Installation
pip install dotify
Supporting the project
Feel free to Buy me a coffee! ☕.
Contributing
If you would like to contribute to the project, please go through the Contributing Guidelines first.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!