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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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