Skip to main content

Client for the Spotify Web API

Project description

logo

python version monthly downloads

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.

import tekore as tk

conf = (client_id, client_secret, redirect_uri)
token = tk.prompt_for_user_token(*conf, scope=tk.scope.every)

spotify = tk.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. You can also ask a question on Stack Overflow.

Installation

Tekore can be installed from the Package Index via pip.

$ pip install tekore

Changelog

A detailed changelog can be found on our RTD documentation’s Release notes.

Versioning

When requiring Tekore in projects or other packages, please pin the version down to at least a specific major release to avoid compatibility issues. For example:

setup(
    install_requires=[
        'tekore~=4.0'
    ]
)

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.

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-6.1.1.tar.gz (270.5 kB view details)

Uploaded Source

Built Distribution

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

tekore-6.1.1-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tekore-6.1.1.tar.gz
  • Upload date:
  • Size: 270.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for tekore-6.1.1.tar.gz
Algorithm Hash digest
SHA256 5d5d13e31eceb97bd5d723703b009bd3e3cc54b8e33822b656650df1555b4dfc
MD5 01f26ca90cd74b5c9cb227461fb1a650
BLAKE2b-256 aeaf018e0e7557402b2822a9fb6248629d79cec92f6198b89e261e972e3c2994

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tekore-6.1.1-py3-none-any.whl
  • Upload date:
  • Size: 75.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for tekore-6.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d266a4cf183ec46c66d0326baa6a10d719eb7393fd704cc4542c9d703a02d83
MD5 281b76b0d88e46107a7b3f0c2e882a01
BLAKE2b-256 7533e7a6e0b6a9d82a6e498ea23ab8644b1850acae2409c2848f6252804530da

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