Add README.md Usage
This commit is contained in:
parent
89c188d599
commit
b6b23ae585
13
README.md
13
README.md
|
@ -20,7 +20,18 @@ Snapshot Version
|
|||
pip install git+https://github.com/kokarare1212/librespot-python
|
||||
```
|
||||
## 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
|
||||
Coming soon
|
||||
## License
|
||||
|
|
Loading…
Reference in New Issue