Add README.md Usage

This commit is contained in:
kokarare1212
2021-02-26 06:59:13 +09:00
parent 89c188d599
commit b6b23ae585

View File

@@ -20,7 +20,18 @@ Snapshot Version
pip install git+https://github.com/kokarare1212/librespot-python pip install git+https://github.com/kokarare1212/librespot-python
``` ```
## Usage ## Usage
Coming soon Get Spotify's OAuth token
```python
from librespot.core import Session
session = Session.Builder() \
.user_pass("<Username>", "<Password>") \
.create()
aceess_token = session.tokens().get("playlist-read")
```
Please read [this document](https://librespot-python.rtfd.io) for detailed specifications.
## Roadmap ## Roadmap
Coming soon Coming soon
## License ## License