mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-05 07:27:47 +00:00
Moved to spotipy at pypi
This commit is contained in:
parent
d30cb66b05
commit
8314091b80
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
4
setup.py
4
setup.py
@ -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",
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user