Client for the Spotify Web API
Welcome to the Python Package Index page of Tekore! We provide a client for the Spotify Web API for Python, complete with all available endpoints and authentication methods, async support and loads of additional features. Tekore allows you to interact with the API effortlessly. Here’s five lines to get you full access and start playing your top songs.
from tekore import Spotify, util, scope cred = (client_id, client_secret, redirect_uri) token = util.prompt_for_user_token(*cred, scope=scope.every) spotify = Spotify(token) tracks = spotify.current_user_top_tracks(limit=10) spotify.playback_start_tracks([t.id for t in tracks.items])
See our online documentation on Read The Docs for tutorials, examples, package reference and a detailed description of features. If you’ve found a bug or would like to propose a feature, please submit an issue on GitHub. Join our Discord community to ask for help or discuss just about anything related to Tekore.
Tekore can be installed from the Package Index via pip.
$ pip install tekore
Tekore provides both stable and beta endpoints of the Web API. However, beta endpoints may be changed by Spotify without prior notice, so older versions of the library may have unintended issues. Because of this, Tekore follows a modified form of Semantic Versioning. Incompatible changes in the library are still introduced in major versions, and new features and endpoints are added in minor versions. But endpoints removed by Spotify are removed in minor versions and changes to endpoints are implemented as bugfixes. See the Web API documentation for further information on beta endpoints.
- Async support in authentication and API endpoints
- Sender that implements response caching
- Reading configuration with missing values produces a warning
- Correctly parse playlist when fields is specified (#142)
- Accept missing video thumbnail in PlaylistTrack (#132)
- Packaging improvements
- Declare versioning scheme
Initial release of Tekore!
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size tekore-1.1.0-py3-none-any.whl (55.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size tekore-1.1.0.tar.gz (36.1 kB)||File type Source||Python version None||Upload date||Hashes View|