A caching python interface to readonly parts of the spotify api.
Project description
A readonly wrapper for the Spotify API that relies on heavy caching to minimise the number of requests.
Key Features
caching requested data (note that non public data will be cached)
Installation
python 3.10 or higher is required
# Linux/macOS
python3 -m pip install -U spotifython
# Windows
py -3 -m pip install -U spotifython
To install the development version, run:
$ git clone https://github.com/vawvaw/spotifython
$ cd spotipython
$ python3 -m pip install -U .
Quick Example
import spotifython
if __name__ == "__main__":
scope = spotifython.Scope(playlist_read_private=True, user_library_read=True)
authentication = spotifython.Authentication(
client_id="client_id",
client_secret="client_secret",
scope=scope
)
client = spotifython.Client(authentication=authentication)
playlists = client.user_playlists()
for playlist in playlists:
print(playlist.name)
client.close()
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spotifython-0.2.12.tar.gz.
File metadata
- Download URL: spotifython-0.2.12.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02982e787be23655207a56d1d6218b518d08d48db19dace51c1c2533ce6c597d
|
|
| MD5 |
d0bf706d55e14de808c61fa023d9a7c0
|
|
| BLAKE2b-256 |
6bf2a85a02395fef8a3cc44cfef6ed465280199420fb20f2ee93699b8c01098f
|
File details
Details for the file spotifython-0.2.12-py3-none-any.whl.
File metadata
- Download URL: spotifython-0.2.12-py3-none-any.whl
- Upload date:
- Size: 39.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74f3a0e8957a3c1b8a2815d7b3bc83b28f21678f97ea4605da95878f84c2328e
|
|
| MD5 |
249968356bf830ced25a3bb5ee294e93
|
|
| BLAKE2b-256 |
1bbd4f103e2183f6244acacf823f1023f703975a7b51d9e816e89dbc554c340a
|