mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-05 07:27:47 +00:00
Relaxed simplejson version dependency
This commit is contained in:
parent
f0415e9de2
commit
9b5b65073c
30
README.md
30
README.md
@ -45,17 +45,24 @@ A full set of examples can be found in the [Spotipy examples directory](https://
|
|||||||
|
|
||||||
## Supported Methods
|
## Supported Methods
|
||||||
|
|
||||||
- track - gets info for a single track
|
- **album(self, album_id)** - returns a single album given the album's ID, URN or URL
|
||||||
- tracks - gets info for multiple tracks
|
- **album_tracks(self, album_id)** - Get Spotify catalog information about an album’s tracks
|
||||||
- album - gets info for a single album
|
- **albums(self, albums)** - returns a list of albums given the album IDs, URNs, or URLs
|
||||||
- albums - gets info for a set of albums
|
- **artist(self, artist_id)** - returns a single artist given the artist's ID, URN or URL
|
||||||
- artist - gets info for an artist
|
- **artist_albums(self, artist_id, album_type=None, country=None, limit=20, offset=0)** - Get Spotify catalog information about an artist’s albums
|
||||||
- artists - gets info for a set of artists
|
- **artist_top_tracks(self, artist_id, country='US')** - Get Spotify catalog information about an artist’s top 10 tracks by country.
|
||||||
- artist_albums - gets info about an artist's albums
|
- **artists(self, artists)** - returns a list of artists given the artist IDs, URNs, or URLs
|
||||||
- artist_top_tracks - gets info about an artist's top tracks
|
- **me(self)** - returns info about me
|
||||||
- user - gets profile info for a user
|
- **next(self, result)** - returns the next result given a result
|
||||||
- search - searches for artists, albums or tracks
|
- **previous(self, result)** - returns the previous result given a result
|
||||||
- simple oauth flow
|
- **search(self, q, limit=10, offset=0, type='track')** - searches for an item
|
||||||
|
- **track(self, track_id)** - returns a single track given the track's ID, URN or URL
|
||||||
|
- **tracks(self, tracks)** - returns a list of tracks given the track IDs, URNs, or URLs
|
||||||
|
- **user(self, user_id)** - Gets basic profile information about a Spotify User
|
||||||
|
- **user_playlist(self, user, playlist_id, fields=None)** - Gets playlist of a user
|
||||||
|
- **user_playlist_add_tracks(self, user, playlist_id, tracks, position=None)** - Adds tracks to a playlist
|
||||||
|
- **user_playlist_create(self, user, name, public=True)** - Creates a playlist for a user
|
||||||
|
- **user_playlists(self, user)** - Gets playlists of a user
|
||||||
|
|
||||||
Refer to the [Spotify API documentation](https://developer.spotify.com/spotify-web-api/) for details on the methods and parameters.
|
Refer to the [Spotify API documentation](https://developer.spotify.com/spotify-web-api/) for details on the methods and parameters.
|
||||||
|
|
||||||
@ -75,4 +82,5 @@ at [paul@echonest.com](mailto:paul@echonest.com). Or just send me a pull request
|
|||||||
|
|
||||||
- 1.0 - 04/05/2014 - Initial release
|
- 1.0 - 04/05/2014 - Initial release
|
||||||
- 1.1 - 05/18/2014 - Repackaged for saner imports
|
- 1.1 - 05/18/2014 - Repackaged for saner imports
|
||||||
|
- 1.4.1 - 06/17/2014 - Updates to match released API
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -3,7 +3,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='SpotipyWebApi',
|
name='SpotipyWebApi',
|
||||||
version='1.40',
|
version='1.41',
|
||||||
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",
|
||||||
|
Loading…
Reference in New Issue
Block a user