From 9b5b65073c9e03ad236d29585f1ec915730ae6b7 Mon Sep 17 00:00:00 2001 From: Paul Lamere Date: Tue, 17 Jun 2014 13:29:33 -0400 Subject: [PATCH] Relaxed simplejson version dependency --- README.md | 30 +++++++++++++++++++----------- setup.py | 2 +- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e845fff..541de36 100644 --- a/README.md +++ b/README.md @@ -45,17 +45,24 @@ A full set of examples can be found in the [Spotipy examples directory](https:// ## Supported Methods - - track - gets info for a single track - - tracks - gets info for multiple tracks - - album - gets info for a single album - - albums - gets info for a set of albums - - artist - gets info for an artist - - artists - gets info for a set of artists - - artist_albums - gets info about an artist's albums - - artist_top_tracks - gets info about an artist's top tracks - - user - gets profile info for a user - - search - searches for artists, albums or tracks - - simple oauth flow + - **album(self, album_id)** - returns a single album given the album's ID, URN or URL + - **album_tracks(self, album_id)** - Get Spotify catalog information about an album’s tracks + - **albums(self, albums)** - returns a list of albums given the album IDs, URNs, or URLs + - **artist(self, artist_id)** - returns a single artist given the artist's ID, URN or URL + - **artist_albums(self, artist_id, album_type=None, country=None, limit=20, offset=0)** - Get Spotify catalog information about an artist’s albums + - **artist_top_tracks(self, artist_id, country='US')** - Get Spotify catalog information about an artist’s top 10 tracks by country. + - **artists(self, artists)** - returns a list of artists given the artist IDs, URNs, or URLs + - **me(self)** - returns info about me + - **next(self, result)** - returns the next result given a result + - **previous(self, result)** - returns the previous result given a result + - **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. @@ -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.1 - 05/18/2014 - Repackaged for saner imports +- 1.4.1 - 06/17/2014 - Updates to match released API diff --git a/setup.py b/setup.py index fa88b33..b842d98 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup( name='SpotipyWebApi', - version='1.40', + version='1.41', description='simple client for the Spotify Web API', author="@plamere", author_email="paul@echonest.com",