diff --git a/README.md b/README.md index 3a671af..72917b9 100644 --- a/README.md +++ b/README.md @@ -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 - `pip install SpotipyWebAPI` + `pip install spotipy` or - `easy_install SpotipyWebAPI` + `easy_install spotipy` ## Dependencies diff --git a/docs/index.rst b/docs/index.rst index ce80cfc..80a1fa3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -71,11 +71,11 @@ Installation ============ Install *Spotipy* with:: - pip install SpotipyWebAPI + pip install spotipy Or with:: - easy_install SpotipyWebAPI + easy_install spotipy Or you can get the source from github at https://github.com/plamere/spotipy diff --git a/setup.py b/setup.py index e7feda0..be9b75a 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ from setuptools import setup setup( - name='SpotipyWebApi', - version='2.0.0', + name='spotipy', + version='2.0.1', description='simple client for the Spotify Web API', author="@plamere", author_email="paul@echonest.com", diff --git a/spotipy/client.py b/spotipy/client.py index 901abb1..901c4f5 100644 --- a/spotipy/client.py +++ b/spotipy/client.py @@ -300,7 +300,7 @@ class Spotify(object): - name - the name of the playlist - 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) def user_playlist_add_tracks(self, user, playlist_id, tracks,