Skip to main content

The next generation Spotify Web API wrapper for Python

Project description

Spotipy2
The next generation Spotify Web API wrapper for Python
Documentation Releases Community

Quick example

import asyncio
from spotipy2 import Spotify
from spotipy2.auth import ClientCredentialsFlow

async def get_track_name(track_id):
    client = Spotify(
        ClientCredentialsFlow(
            client_id="client_id",
            client_secret="client_secret"
        )
    )

    async with client as s:
        track = await s.get_track(track_id)
        print(f"The name of the track is {track.name}")

asyncio.run(get_track_name(input("Insert the track ID: ")))

Key Features

  • Easy - Makes the Spotify API easy to understand and intuitive, without giving less customization.
  • Fast - Thanks to its async design and aiohttp speed, spotipy2 is incredibly fast
  • Type-hinted - All the methods and types are type-hinted, enabling excellent IDE support
  • Documented - API methods, types and interfaces are all well documented

Installing

pip install spotipy2

Resources

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

spotipy2-0.6.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

spotipy2-0.6-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file spotipy2-0.6.tar.gz.

File metadata

  • Download URL: spotipy2-0.6.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for spotipy2-0.6.tar.gz
Algorithm Hash digest
SHA256 e47f614607733aa0f51ef2836f4a6da0293b39c2d8b8554f447f68f2ed44f7c8
MD5 1d39b058953332a7264809fc5534deed
BLAKE2b-256 5588b83177713d4e77c3820f91742b9f2550dbed445b21a4cd981c80cc1466bd

See more details on using hashes here.

File details

Details for the file spotipy2-0.6-py3-none-any.whl.

File metadata

  • Download URL: spotipy2-0.6-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for spotipy2-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 026a9d941ac8eca5da6c48e59ca483fcaf10c3d8a55f2263f8daa795bbec38ae
MD5 749fbd2c30f5eadc2ce9fc5965621740
BLAKE2b-256 ff2626f78980fefe9a33826d05936939fb9b29bb5c25f398bcf1aaba2b1429f5

See more details on using hashes here.

Supported by

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