mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2024-08-16 12:33:23 +02:00
Open Source Spotify Client
docs | ||
extensions/player | ||
librespot | ||
proto | ||
.gitignore | ||
LICENSE.txt | ||
README.md | ||
requirements.txt | ||
setup.py |
Librespot-Python
Open Source Spotify Client
About The Project
This project was developed to make the music streaming service Spotify available on any device.
Note
It is still in the idea stage, so there is a possibility of unintended behavior or major specification changes.
We DO NOT encourage piracy and DO NOT support any form of downloader/recorder designed with the help of this repository and in general anything that goes against the Spotify ToS.
Getting Started
Prerequisites
Installation
Stable Version
pip install librespot
Snapshot Version
pip install git+https://github.com/kokarare1212/librespot-python
Usage
Get Spotify's OAuth token
from librespot.core import Session
session = Session.Builder() \
.user_pass("<Username>", "<Password>") \
.create()
aceess_token = session.tokens().get("playlist-read")
Please read this document for detailed specifications.
Roadmap
Coming soon
License
Distributed under the Apache-2.0 License. See LICENSE.txt
for more information.
Related Projects
- Librespot (Concept)
- Librespot-Java (Core)
Special thanks
Coming soon