mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-04 23:17:48 +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
|
||||
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user