Commit Graph

306 Commits

Author SHA1 Message Date
Paul Lamere
e2714bbd5e Merge pull request #42 from akx/session
Use Requests sessions for connection pooling
2015-01-05 14:52:47 -05:00
Aarni Koskela
004ef98a2c Test Requests session functionality. 2015-01-03 20:26:35 +02:00
Aarni Koskela
62ced74126 Use Requests sessions for connection pooling.
This behavior is on by default but can be easily disabled.
2015-01-03 20:09:46 +02:00
Paul Lamere
6b9d28de01 Merge pull request #38 from mattduck/support-snapshot-id-param
Support "snapshot-id" param for DELETE endpoints
2014-12-02 07:26:05 +01:00
Paul Lamere
c804f38043 Merge pull request #36 from mattduck/fix-fn-remove-specific-occurrences
Fix remove_specific_occurrences function
2014-12-02 07:22:51 +01:00
Matthew Duck
c61e5c18ed Support "snapshot-id" param for DELETE endpoints 2014-12-02 00:18:30 +00:00
Matthew Duck
98ebb6a163 Fix remove_specific_occurrences function
user_playlist_remove_specific_occurrences_of_tracks is expecting a
different tracklist object to the one that is documented, causing a
"'dict' object has no attribute 'split'" error. Update it to expect the
correct format.
2014-12-01 23:30:16 +00:00
Paul Lamere
202435f6a6 Updated to version 2.2 2014-11-15 07:23:47 -05:00
Paul Lamere
8adbfe6f6d Added playlist tracks method. Updated tests. 2014-11-15 07:20:11 -05:00
Paul Lamere
278b7d3005 Updated version number to 2.1.0 2014-10-25 06:46:04 -04:00
Paul Lamere
373218083f Added support for new_releases and featured_playlists endpoints. 2014-10-25 06:40:51 -04:00
Paul Lamere
06b54e4c1d more setup debugging 2014-08-25 17:49:00 -04:00
Paul Lamere
a049f57bf6 more setup changes 2014-08-25 17:47:19 -04:00
Paul Lamere
9ba6cea623 Updated version numbers 2014-08-25 17:41:21 -04:00
Paul Lamere
8314091b80 Moved to spotipy at pypi 2014-08-25 17:30:31 -04:00
Paul Lamere
d30cb66b05 fixed install instructions 2014-08-22 14:01:21 -04:00
Paul Lamere
a33f8dc82a Example cleanup 2014-08-22 13:48:31 -04:00
Paul Lamere
34f476d17f Clean up of examples 2014-08-22 13:48:31 -04:00
Paul Lamere
6cf9f67c94 Create redirect_page.md 2014-08-22 13:31:06 -04:00
Paul Lamere
02fee8fb78 Header indent changes 2014-08-22 12:59:43 -04:00
Paul Lamere
5394deed31 Fixed up TOC levels 2014-08-22 12:36:18 -04:00
Paul Lamere
3e552d90df Improved README docs 2014-08-22 12:10:48 -04:00
Paul Lamere
b455d529f0 Doc improvements for readthedocs 2014-08-22 11:48:12 -04:00
Paul Lamere
99f417088e Added images 2014-08-22 11:02:08 -04:00
Paul Lamere
20870ea3ed Documentation improvements 2014-08-22 11:00:29 -04:00
Paul Lamere
58e5206076 Documentation updates 2014-08-22 09:28:19 -04:00
Paul Lamere
080786654a Improved oauth docs 2014-08-22 09:23:06 -04:00
Paul Lamere
0c2fcecc16 working the docs 2014-08-21 14:26:19 -04:00
Paul Lamere
a0016a15a5 fixup packaging for readthedocs 2014-08-21 14:12:17 -04:00
Paul Lamere
216f59f25b Readthedocs testing 2014-08-21 13:57:19 -04:00
Paul Lamere
a3b54a81aa fixed abspath error 2014-08-21 12:31:34 -04:00
Paul Lamere
c8ff3144b0 trying to get readthedocs to build 2014-08-21 12:29:09 -04:00
Paul Lamere
77c370a7e6 Fixed module to include client 2014-08-21 12:05:00 -04:00
Paul Lamere
5635252ad0 Added docs tree 2014-08-21 11:08:32 -04:00
Paul Lamere
0143b58837 Renamed spotipy to client to avoid confusion 2014-08-21 10:58:40 -04:00
Paul Lamere
9a3b5784b0 Fixed refresh token problem 2014-08-21 07:35:01 -04:00
Paul Lamere
1813b2502e reuse testing playlist for every test 2014-08-21 06:56:23 -04:00
Paul Lamere
d3b61757c2 Updated README.md with changes 2014-08-20 16:35:05 -04:00
Paul Lamere
4e70a2f7f3 Fixed up the packaging a bit 2014-08-20 16:28:47 -04:00
Paul Lamere
f43faea723 Added authtests 2014-08-20 15:50:32 -04:00
Paul Lamere
7601aaab58 refacord to support playlist editing 2014-08-20 14:08:49 -04:00
Paul Lamere
acd1e8b494 Merge pull request #16 from thelinmichael/add-yourmusic-contains-track-endpoint
Add support for checking if a user's Your Music library contains a track
2014-08-20 12:58:55 -04:00
Paul Lamere
9629d97bd6 Updated version number for pip 2014-08-19 14:37:48 -04:00
Paul Lamere
a17fb7c777 Updated version number 2014-08-19 13:20:57 -04:00
Paul Lamere
358b578d9c moved util into the main package 2014-08-17 10:28:56 -04:00
Paul Lamere
e35ef206d5 Moved util module into main package 2014-08-17 10:28:56 -04:00
Paul Lamere
05a459e1bd Merge pull request #19 from mattduck/fix-auth-token-refreshing
Fix user having to log in after token refresh
2014-08-17 10:26:41 -04:00
Matthew Duck
72d13dd0a7 Fix user having to login after first token refresh
Fix issue where the get_cached_token method returns None instead of the
cached token object, meaning that users have to login again when the
initial token expires. The problem has two aspects:

- The first time the user calls get_cached_token after token
  expiration, the token is refreshed but the "new_token_info" object is
  not returned.

- The second time the user calls get_cached_token after token
  expiration, the scope check fails, because the refresh_access_token
  method didn't include the "scope" key when it cached the new
  token_info results.
2014-08-04 16:17:21 +01:00
Matthew Duck
a6f096e3dc Add missing sys import 2014-07-30 17:36:21 +01:00
Michael Thelin
a4e6fc5a39 Add support for checking if a user's Your Music library contains a track 2014-07-24 00:27:35 -04:00