Skip to main content

Client for the Spotify Web API

Project description

logo

python version

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.

Installation

Tekore can be installed from the Package Index via pip.

$ pip install tekore

Versioning

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.

Changelog

1.1.0 (2020-02-02)

Added

  • Async support in authentication and API endpoints

  • Sender that implements response caching

  • Reading configuration with missing values produces a warning

Fixed

  • Correctly parse playlist when fields is specified (#142)

1.0.1 (2020-01-17)

Fixed

  • Accept missing video thumbnail in PlaylistTrack (#132)

1.0.0 (2020-01-14)

  • Packaging improvements

  • Declare versioning scheme

0.1.0 (2020-01-14)

Initial release of Tekore!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tekore-1.1.0.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tekore-1.1.0-py3-none-any.whl (55.1 kB view details)

Uploaded Python 3

File details

Details for the file tekore-1.1.0.tar.gz.

File metadata

  • Download URL: tekore-1.1.0.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.2

File hashes

Hashes for tekore-1.1.0.tar.gz
Algorithm Hash digest
SHA256 12914832afac0f17459084a8989100b79ffc6e48446300b16f024af3ed6ab6a5
MD5 ef097559f01efe9f7a10701cb9cc028e
BLAKE2b-256 e7ed9668a500a5cc980df6221665b6a7fd0d5bfe509d0c18f6c918790403b873

See more details on using hashes here.

File details

Details for the file tekore-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: tekore-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 55.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.2

File hashes

Hashes for tekore-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82dbdc8378b9fbedea6d6242322d07b6d5ba1f31445deae91269782bf79df5d4
MD5 80fa700a70dadf9964ee306a988a36fa
BLAKE2b-256 7f4649ef1d9dd9d377d491cbfb964ac3df3fd21ef7d4d6728c1ee238681cc888

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page