Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A Python SDK used to interface with the Spotify Web API

Project Description

pyspot 0.0.1

Released: 19-Jul-2015

Introduction

pyspot is a Python package that provides an interface to the Spotify RESTful web API.

I encourage other developers to create issues and submit pull requests if there exists errors or improvements can be made to the SDK.

Getting started with pyspot

Your credentials can be passed when instantiating the Spotify class. Alternatively, pyspot will check for the existence of the following environment variables:

SPOTIFY_CLIENT_ID - Your Spotify client ID

SPOTIFY_CLIENT_SECRET - Your Spotify client secret

Credentials can also be stored in a pyspot configuration file.

Sample endpoint request

from pyspot import Spotify
from pyspot.exception import SpotifyServerError


# use credentials from ~/.pyspot configuration file
spotify = Spotify()
try:
    track = spotify.get_track(id='6kLCHFM39wkFjOuyPGLGeQ', market='US')
except SpotifyServerError, e:
    raise e
print track.name, '-', track.artists[0].name
Heaven and Hell - William Onyeabor
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyspot-0.0.1-py2-none-any.whl (9.9 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Aug 11, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting