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.1

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.1
File Size Uploaded
spotipy2-0.6.1.tar.gz 11.7 kB Details

Built distribution (wheel)

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

Total release size: 32.5 kB

Release files / spotipy2-0.6.1.tar.gz

Download URL spotipy2-0.6.1.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e0ed8801285855973a7ff31c2684e5f8546560010e5a696bf498da05f55f5030
BLAKE2b-256 checksum
How to use checksums
9919676a8067ce50563b86b91f5f65d4c6fb60e1b13713353ff11613cc682363
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.15

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

Download URL spotipy2-0.6.1-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54a56d2c69571cac5ebdf7650604ce3be39eb794017a9936dfad918bdc94d36d
BLAKE2b-256 checksum
How to use checksums
447cd1d3d4944104c69b6022c521df8496b8497022df7c41c4a29efbded23872
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.15

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6

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