Skip to main content

A Python wrapper for the Spotify API

Project description

An easy to use API wrapper for Spotify written in Python.

Installing

Python 3.7 or higher is required

# Linux/macOS
python3 -m pip install -U spyotipy

# Windows
py -3 -m pip install -U spyotipy

Quick Example

import asyncio

from spotify import Client


async def main():
    async with Client("id", "secret") as c:
        a = await c.get_album("id")
        print(a)

        async for track in a:
            print(track)


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())

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

spyotipy-0.1a0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

spyotipy-0.1a0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file spyotipy-0.1a0.tar.gz.

File metadata

  • Download URL: spyotipy-0.1a0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for spyotipy-0.1a0.tar.gz
Algorithm Hash digest
SHA256 372858a3ccc66b15f481d10e72d1c95967f46a9b94c1d0c0ba247c91a837db2b
MD5 810bc7ff94ec55346f2cfa69ca22328f
BLAKE2b-256 4e3abaacab7e44ff0277309b3d84fa6ca29cf85e913d7e00e486cd91e2c99fa2

See more details on using hashes here.

File details

Details for the file spyotipy-0.1a0-py3-none-any.whl.

File metadata

  • Download URL: spyotipy-0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for spyotipy-0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3138fe0f29e428d48f764ceb6f8081b1334768d89d946631ee1de0ba7f6cac7
MD5 0e44d0d677968626aa621be93924ea5f
BLAKE2b-256 961c57eeaeccda56f86aa944d898525456a52f8d762652032579d4d8e6005e5f

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