Skip to main content

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

Metadata

Release files for spotipy2 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spotipy2 0.6
File Size Uploaded
spotipy2-0.6.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spotipy2 0.6
File Interpreter ABI Platform
spotipy2-0.6-py3-none-any.whl Python 3 none any Details

Total release size: 32.3 kB

Release files / spotipy2-0.6.tar.gz

Download URL spotipy2-0.6.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e47f614607733aa0f51ef2836f4a6da0293b39c2d8b8554f447f68f2ed44f7c8
BLAKE2b-256 checksum
How to use checksums
5588b83177713d4e77c3820f91742b9f2550dbed445b21a4cd981c80cc1466bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release files / spotipy2-0.6-py3-none-any.whl

Download URL spotipy2-0.6-py3-none-any.whl
Size 20.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
026a9d941ac8eca5da6c48e59ca483fcaf10c3d8a55f2263f8daa795bbec38ae
BLAKE2b-256 checksum
How to use checksums
ff2626f78980fefe9a33826d05936939fb9b29bb5c25f398bcf1aaba2b1429f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release history Release notifications | RSS feed

0.6.1

2 release files

This release

0.6 This release

2 release files

0.5.1

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page