Moved to spotipy at pypi

This commit is contained in:
Paul Lamere 2014-08-25 17:30:31 -04:00
parent d30cb66b05
commit 8314091b80
4 changed files with 7 additions and 7 deletions

View File

@ -16,11 +16,11 @@ If you already have [Python](http://www.python.org/) on your system you can inst
You can also install it using a popular package manager with You can also install it using a popular package manager with
`pip install SpotipyWebAPI` `pip install spotipy`
or or
`easy_install SpotipyWebAPI` `easy_install spotipy`
## Dependencies ## Dependencies

View File

@ -71,11 +71,11 @@ Installation
============ ============
Install *Spotipy* with:: Install *Spotipy* with::
pip install SpotipyWebAPI pip install spotipy
Or with:: Or with::
easy_install SpotipyWebAPI easy_install spotipy
Or you can get the source from github at https://github.com/plamere/spotipy Or you can get the source from github at https://github.com/plamere/spotipy

View File

@ -1,8 +1,8 @@
from setuptools import setup from setuptools import setup
setup( setup(
name='SpotipyWebApi', name='spotipy',
version='2.0.0', version='2.0.1',
description='simple client for the Spotify Web API', description='simple client for the Spotify Web API',
author="@plamere", author="@plamere",
author_email="paul@echonest.com", author_email="paul@echonest.com",

View File

@ -300,7 +300,7 @@ class Spotify(object):
- name - the name of the playlist - name - the name of the playlist
- public - is the created playlist public - public - is the created playlist public
''' '''
data = {'name':name, 'public':True } data = {'name':name, 'public':public }
return self._post("users/%s/playlists" % (user,), payload = data) return self._post("users/%s/playlists" % (user,), payload = data)
def user_playlist_add_tracks(self, user, playlist_id, tracks, def user_playlist_add_tracks(self, user, playlist_id, tracks,