Commit Graph

619 Commits

Author SHA1 Message Date
Stephane Bruckert
beec3dad1f Fix flake8 2023-01-23 18:54:40 +00:00
Shaderbug
b1db0b63d9
Merge pull request from GHSA-q764-g6fm-555v
* Improve URL and URI handling

* Back to SpotifyException for backward-compatibility

* fix copy paste typo

* TODO v3 comments

Co-authored-by: Stephane Bruckert <stephane.bruckert@gmail.com>
2023-01-23 18:50:07 +00:00
Mario Sessa
262e7a0443
Rename simple files (#933) 2023-01-23 12:48:37 +00:00
Archie Baldry
d884ae13c2
Fix typo in start_playback function (#930) 2023-01-15 23:30:37 +00:00
Stéphane Bruckert
f669966a72
Update SECURITY.md 2023-01-07 08:27:58 +00:00
Stéphane Bruckert
0b9062726c
Create SECURITY.md 2023-01-07 08:26:17 +00:00
kasowskc
d0bbe67302
Add additional video tutorial reference to documentation. (#921)
* Added additional video tutorial

Added additional link to video tutorial series by Ian Annase. The original tutorial is very low resolution and is hard to follow. The tutorial linked in this commit is entirely in HD and goes further in depth, including examples of possible functionality.

* Update index.rst

Adjusted link formatting.

* Update index.rst

Updated link formatting again because I'm an idiot.

* Update index.rst

Edited formatting to fix missing period and double wording.
2022-12-27 15:27:17 +01:00
oliveraw
922d51df02
modified docstring for playlist_add_items to no longer accept IDs 2022-12-16 19:17:37 +00:00
Mason Stephenson
edd3f29a2c
Getting Started Clarifications and Example Code File (#904)
* added URI link to README getting started

* revised comment

* added alternate module installation instruction

* installation troubleshooting comment

* scope clarification comment

* added playlist_add_items.py to examples folder

* reformatted changelog edits

* Relocated added contributions to added section in Changelog

* removed unnecessary library installation instruction

* Clarified alternative installation instruction
2022-12-10 16:27:29 +00:00
Stephane Bruckert
1377879972 Update contributing.md 2022-12-10 16:02:03 +00:00
Stephane Bruckert
1e840b6526 Bump to 2.22.0 2022-12-10 15:31:47 +00:00
mattgader
d2384c1c33
Add CODE_OF_CONDUCT.md (#897) 2022-12-10 14:22:45 +00:00
Kevin Sekuj
5201f58247
Add tests for global categories, releases, fix bugged tests (#893) 2022-11-26 09:29:53 +00:00
Stéphane Bruckert
edcd322845
Pin Github Actions Runner to Ubuntu 20 for Py27 (#894) 2022-11-26 08:40:49 +00:00
Sean Park
6f56504c2c
Update category tests to fix 1 failing and 1 error test results (#886)
* update category tests to fix 1 failing and 1 error test results

* update changelog
2022-11-13 10:42:25 +00:00
Stéphane Bruckert
1265d7b915
GHA integration tests (#876) 2022-11-01 21:57:40 +00:00
Stéphane Bruckert
e9fd81ce21
Update integration_tests.yml 2022-11-01 21:52:01 +00:00
Stéphane Bruckert
459be3d400
Integration tests workflow (2) 2022-11-01 21:36:43 +00:00
Stephane Bruckert
0c32cd74d9 Integration tests workflow 2022-11-01 21:26:01 +00:00
Stéphane Bruckert
9bf5e342c2
Add secrets to GHA workflow (#877) 2022-11-01 20:52:25 +00:00
Alberto Pasqualetto
cc5eaca191
Fix linting in test_non_user_endpoints (#841) 2022-10-29 15:50:56 +01:00
Bruno Alla
fa44fed76d
Fix a few typos in comments & strings (#866) 2022-10-29 14:23:43 +01:00
Pedro Rodrigues
dd69a48659
Create tutorial for beginners (#872)
* Create TUTORIAL.md

* remova blank space

Co-authored-by: avivaschmitz <39923753+avivaschmitz@users.noreply.github.com>
2022-10-29 14:20:50 +01:00
Job Doesburg
be759d3f50
Implement get-queue endpoint (#854) 2022-10-29 13:01:25 +01:00
Stephane Bruckert
5a7e5c5a43 Bump to 2.21.0, closes #836 2022-10-26 23:03:42 +01:00
Bruno Alla
fd8f97d46a
Add python 3.10 to GitHub Actions (#863) 2022-10-26 22:59:10 +01:00
Stephane Bruckert
06765c4f5a Fix flake8 2022-10-26 22:56:38 +01:00
Paulina Khew
be27391461
Add missing step to CONTRIBUTING.md to activate virtualenv (#848) 2022-08-30 23:16:38 +01:00
Bryan Malyn
7fc08809f0
Add FlaskSessionCacheHandler (#833)
Updated examples/app.py
Updated CHANGELOG.md and appropriate docs.
2022-06-25 20:00:08 +01:00
Stephane Bruckert
7337bf9352 Fix readthedocs 2022-06-19 09:03:13 +01:00
Ian Rolph
eab3c37b89
Updated documentation (#826)
* updated documentation

* updated changelog
2022-06-18 23:34:36 +01:00
Robinson Ibarra
ca73420248
Added documentation for windows users attempting to set environment variables (#822) 2022-06-18 23:30:07 +01:00
Stephane Bruckert
36ea3d9319 Fix lint 2022-06-18 23:29:12 +01:00
mattrost
1b0c426984
Addition of Test Cases (#818)
* Added test_categories_country to use optional country selection for categories method.

* Added test_categories_locale for testing locale method of categories.

* Added test_categories_limit_low and test_categories_limit_high to test the limit method of categories for edge cases.

* Rearranged for flow

* Added test_category_playlists_limit_low and test_category_playlists_limit_high for testing the limit method.
2022-06-18 23:28:08 +01:00
dnlruiz
a4cfd83946
show_featured_artists.py and update publishing docs (#821)
* show_featured_artists.py and update publishing docs

* Don't update version

Co-authored-by: Stéphane Bruckert <contact@stephanebruckert.com>
2022-06-18 23:26:43 +01:00
Stephane Bruckert
61c8cda006 Fix lint 2022-06-18 23:24:49 +01:00
kanari1
6164dbb628
Fixed and clarified docstrings for client.py (#820)
* fixed docstring for current_user_following_users_function

* Edited docstrings for playlist_cover_image, user_playlist, user_playlist_replace_tracks, user_playlist_reorder_tracks functions

* expanded docstring description of playlist_change_details function to include changes to collaborative state and/or description
2022-06-18 23:20:37 +01:00
darwady2
c6b56a658a
Add YT video URL to doc (#816)
For a final assignment in a class, I've created a How-To video that showcases how to get setup with API credentials, Redirect URIs, and Spotify Developer Accounts, all of which are necessary prerequisites to using the Spotipy library.

I wanted to do this because, in my past experience, the most frustrating thing about working with APIs and libraries is authentication. Spotipy does a nice job of wrapping some of this and making it easier on the developer, but it still takes some setup before successful use.

Specifically, my video goes through the following:
* Installing Spotipy
* Setting up a Spotify Developer Account
* Configuring the Redirect URI
* Getting the Client Secret and Public Keys
* Setting the envars for use with Spotipy
* Running a sample piece of code from Spotipy to show that things are setup properly
2022-06-18 23:20:11 +01:00
Logan O'Connell
13593c54cb
Added a new example: follow_playlist.py (#804)
* Create playlist_all_local_tracks.py

* Delete playlist_all_local_tracks.py

* Create follow_playlist.py
2022-06-18 23:19:27 +01:00
ivyadam
5175f19851
Updated documentation about ISO-639 language codes and address issue #753 (#800)
* Updated references to ISO 639 standard to clarify that the ISO 639-1 alpha-2 standard is used.

* Added `market` parameter to `album` and `albums`

* fix formatting change
2022-06-18 23:18:59 +01:00
Andrii Oriekhov
14ee53eacd
Add GitHub URL for PyPi (#787) 2022-06-18 23:18:20 +01:00
Mohammad Momeni
72a6cd9190
Fix text attribute for Response object (#811)
* Fix text attribute for Response object

* Add a changelog for the AttributeError PR
2022-06-18 23:17:58 +01:00
Stephane Bruckert
c1a85f1469 Bump to 2.20.0, closes #806 2022-06-18 22:59:37 +01:00
Stéphane Bruckert
98f0f76238
Removed Python 3.5 and added Python 3.9 in Github Action (#831)
* Removed python3.5 from CI

* Add python 3.9
2022-06-18 22:56:42 +01:00
ENT8R
9a627e88f4
Simplify check for existing token (#765)
* Simplify check for existing token in RedisCacheHandler

* Update CHANGELOG.md
2022-01-03 19:33:13 +01:00
ENT8R
08411b9031
Allow to set custom key in RedisCacheHandler (#761)
* Allow to set custom key in RedisCacheHandler

* Update CHANGELOG.md

* Check for the existence of the key
2021-12-22 15:44:38 +01:00
Felix Cusson
0464f4f483
Remove query parameters from URI (#758)
* made _get_id take account of ? in URI

* corrected typo

* changes to _get_id explained
2021-12-17 22:20:47 +00:00
rautskaa
2aeda6a2c2
Adding example for unfollowing/deleting a playlist (#746)
* Adding example for deleting a playlist

* Renaming to unfollow_playlist
2021-11-23 21:48:53 +00:00
Takehisa Oyama
7d23fc3277
Add RedisCacheHandler (#747)
* add RedisCacheHandler

* add the explanation for customized chache handlers

* update the dependency and chengelog
2021-11-22 19:31:58 +00:00
StopMotionCuber
0a9270f385
Update link to usage scopes (#738) 2021-10-30 21:22:21 +01:00