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

Uploaded Source

Built Distribution

spotipy2-0.6.1-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spotipy2-0.6.1.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for spotipy2-0.6.1.tar.gz
Algorithm Hash digest
SHA256 e0ed8801285855973a7ff31c2684e5f8546560010e5a696bf498da05f55f5030
MD5 8c2dff522789639323bcbee1bbeeb53b
BLAKE2b-256 9919676a8067ce50563b86b91f5f65d4c6fb60e1b13713353ff11613cc682363

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spotipy2-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for spotipy2-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54a56d2c69571cac5ebdf7650604ce3be39eb794017a9936dfad918bdc94d36d
MD5 d285d0057cf53b4fe7bf7191af11b412
BLAKE2b-256 447cd1d3d4944104c69b6022c521df8496b8497022df7c41c4a29efbded23872

See more details on using hashes here.

Supported by

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