the-dotify-project / dotify

🐍🎢 Yet another Spotify Web API Python library

Home Page:https://the-dotify-project.github.io/dotify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotify

PyPI - Python Version PyPI CI CI pre-commit.ci status Test Coverage PyPI - License Open on Gitpod Cookiecutter Template

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
    • Tracks
    • Playlists
    • Albums
  • Downloading
    • Tracks
    • Playlists
    • Albums

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):


Vasilis Sioros

🚧 πŸ“† πŸ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

Credits

This package was created with Cookiecutter and the billsioros/cookiecutter-pypackage cookiecutter template.

About

🐍🎢 Yet another Spotify Web API Python library

https://the-dotify-project.github.io/dotify/

License:MIT License


Languages

Language:Python 100.0%