bvandercar-vt
1a5b638a9b
add typeddicts
2025-12-02 23:49:14 -07:00
bvandercar-vt
4328005af8
token_info dict type
2025-12-02 16:07:03 -07:00
bvandercar-vt
0a797b5cad
fix import order
2025-12-02 15:32:30 -07:00
bvandercar-vt
89f7c731bc
changelog
2025-12-02 15:31:33 -07:00
bvandercar-vt
3bbafe9fd3
fix: whitespace
2025-12-02 15:30:13 -07:00
bvandercar-vt
7f91c16266
style: whitespace
2025-12-02 15:29:11 -07:00
bvandercar-vt
efc3474e27
feat: add types to args
2025-12-02 15:10:06 -07:00
Stephane Bruckert
9119b6a070
Fix lint workflow
2025-11-27 07:33:35 +00:00
Niko
b5be7fba6a
add advisory link
2025-11-26 21:16:13 +01:00
Niko
48dab6eb6b
bump version to 2.25.2
2025-11-26 21:11:15 +01:00
Yue (Knox) Liu
880b92d724
Merge commit from fork
...
* Sanitize error message output
Escape HTML characters in error message for security.
* Update CHANGELOG.md
---------
Co-authored-by: Niko <github@dieserniko.link>
2025-11-26 20:58:33 +01:00
john
a91d9feb51
Correct Spotify/Spotipy typo ( #1209 )
...
Correct Spotify/Spotipy typo. Document refers the user to the "Spotify GitHub repository" while the associated link is actually to the Spotipy GitHub repo.
2025-07-31 10:33:07 +02:00
Stéphane Bruckert
5a8b55f5e8
Deprecations in doc ( #1202 )
...
* Add documentation warnings to doc
* fix
* fix
2025-05-23 17:18:49 +01:00
Stéphane Bruckert
9dfb7177b8
Revert "Run integration tests from fork" ( #1201 )
...
This reverts commit 4f5759dbfb .
2025-05-15 18:02:54 +01:00
Shawn Falkner-Horine
6bc91ecf98
Fix README "examples" link. ( #1195 ) ( #1196 )
2025-04-26 13:11:03 +02:00
Sebastian Held
1a8d9da033
add additional_types to current_user_playing_track() ( #1193 )
...
Co-authored-by: Sebastian Held <sebastian.held@imst.de>
Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
2025-04-21 22:41:02 +02:00
Stéphane Bruckert
5b018cf6af
Fix main branch name
2025-04-21 15:52:33 +01:00
Stéphane Bruckert
743059989d
Pin gha workflows to ubuntu-22.04
2025-04-21 15:48:54 +01:00
Stéphane Bruckert
4f5759dbfb
Run integration tests from fork
2025-04-21 15:44:04 +01:00
Niko
3ec8a2312c
Improve logging ( #1191 )
...
* improve retry warning
* changelog
* fix lint issue
2025-03-26 07:41:07 +01:00
Niko
4f01f7187d
Avoid garbage collection for requests.Session ( #1189 )
...
* workaround for garbage collection
* add missing import
* linting issues (wrong import order)
* fix imports
2025-03-07 20:02:43 +01:00
Stéphane Bruckert
103d6873fa
Bump to 2.25.1
2025-02-27 07:30:09 +00:00
Aaron Lichtman
1ca453f6ef
Merge commit from fork
...
* security: set 600 permissions on auth token cache file
https://github.com/spotipy-dev/spotipy/security/advisories/GHSA-pwhh-q4h6-w599
* Update spotipy/cache_handler.py
Co-authored-by: Niko <github@dieserniko.link>
* add newline back in
---------
Co-authored-by: Niko <github@dieserniko.link>
2025-02-26 14:01:16 +01:00
Szymon Andrzejewski
668158f055
Fixed Spotify's deprecation of http and localhost ( #1187 )
...
* spotify's deprecation of http and localhost
* updated instead of changed
* pep8
* fixing thing that i broke
2025-02-19 06:31:42 +00:00
Stéphane Bruckert
a6f6841e62
Remove dead link
2025-02-19 02:31:14 +00:00
Niko
d9ec669d5b
added branch overview
2025-01-24 16:43:13 +01:00
Stéphane Bruckert
c738376b80
Check f-strings ( #1184 )
2025-01-24 15:11:58 +00:00
Niko
1d920ff5df
use f-strings
2025-01-23 19:05:27 +01:00
Stéphane Bruckert
81788935cb
Add back submodule
2025-01-22 23:51:45 +00:00
508chris
1dbbbf65ec
Changed cache_handler.py to utilize Python's Context Management Protocol ( #991 )
2025-01-22 23:36:37 +00:00
Stéphane Bruckert
d319c6e09f
Move examples to spotipy-dev/spotipy-examples, add as submodule
2025-01-19 17:21:18 +00:00
Stéphane Bruckert
e37b1a8a55
Marked as deprecated
2025-01-19 16:47:15 +00:00
Stéphane Bruckert
f5ebcc6fc6
Run tests on PR
2025-01-19 16:38:00 +00:00
Stéphane Bruckert
84f8b0a64b
Split test and lint workflows ( #1183 )
2025-01-18 15:21:51 +00:00
dependabot[bot]
2243e135df
Update sphinx requirements ( #1166 )
...
* Update sphinx-rtd-theme requirement from ~=2.0.0 to ~=3.0.2
Updates the requirements on [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) to permit the latest version.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/2.0.0...3.0.2 )
---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Sphinx 8.1.3
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
2025-01-14 07:57:00 +00:00
Niko
2bc8d35fc6
Formatted strings ( #1178 )
...
* use newer string formatters (https://pyformat.info )
* fix typo
* went through the files again, additions from #1165 are also included
* replace .format() with f strings
2025-01-14 07:56:47 +01:00
Michael Rossetti
ca207e4f2d
Update docs for current_user_top_artists ( #1171 )
...
* Update docs
Add maximum value for limit parameter. See: https://developer.spotify.com/documentation/web-api/reference/get-users-top-artists-and-tracks
* Update CHANGELOG.md
---------
Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
2025-01-12 15:42:56 +00:00
jonathan-huston
ba01a6aee5
Examples directory updates ( #1055 )
...
* Fixed scripts in examples directory that didn't work, deleted any redundant examples.
* Added examples for methods related to audiobooks, shows and episodes
* Updated changelog
---------
Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
2025-01-12 14:47:10 +00:00
Niko
645ed6da56
Bump version to 2.25.0
2025-01-03 13:30:08 +01:00
Niko
14ab13d292
add deprecation warnings and FAQ to respond to Spotify's API changes ( #1177 )
...
* add deprecation warnings and FAQ to respond to Spotify's API changes
* remove test cases associated with deprecated methods
* added missing commas
2025-01-03 13:26:08 +01:00
Niko
db3fb9a5ee
created SpotifyBaseException and moved exceptions from oauth2.py to exceptions.py ( #1161 )
2024-10-08 18:40:53 +02:00
Stéphane Bruckert
d9da5af53c
Fix README tests badge
2024-07-30 16:46:22 +01:00
Stéphane Bruckert
c6209436d1
Add Discord badge to README ( #1150 )
2024-07-28 15:28:59 +01:00
dependabot[bot]
185140a812
Update sphinx requirement from ~=7.3.7 to ~=7.4.7 ( #1148 )
...
Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx ) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.3.7...v7.4.7 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 16:42:12 +02:00
Aref
51c5bd8d7d
Advanced examples ( #986 )
...
* Created a testing suite for the spotipy client.Spotify class
* Delete pyvenv.cfg
* Corrected error in description
* Added some advanced usage examples, some of which involve utilizing basic data analysis methods using other libraries such as Pandas
* Minor formatting fixes
---------
Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
2024-07-09 20:02:07 +01:00
JackDyre
1e05bdba67
ID support for current_user_unfollow_playlist() ( #1143 )
...
* ID support for `current_user_unfollow_playlist()`
* turned double quotes into single quotes
* Clarified changelog entry
2024-06-30 21:34:14 +02:00
Niko
66ad716595
Print warnings when a rate/request limit is reached ( #1134 )
...
* create custom urllib3.Retry class for printing warnings on rate/request limits
* move import urllib3 from client.py to util.py
* Using Retry.increment instead of Retry.is_retry. Shows the Retry-After value in the warning as well
* Making sure that max column <= 99
* add types.TracebackType
* Change warning in request/rate limit warning
* adding all parameters, just to make sure
* fixing length of line
* making sure that response is not None
2024-06-25 09:26:19 +02:00
Niko
5e09c78ccf
Added an explanation for rate/request limits to FAQ ( #1133 )
2024-06-24 23:43:54 +02:00
Stéphane Bruckert
ef282e2423
Removed outdated contributors from RTD
2024-06-23 22:30:54 +01:00
Brandon Parrott
d7640404a5
client.py docstring updates ( #1060 )
...
* Update client.py
Added warnings in docstrings for functions that have been replaced and call other new functions.
* Update CHANGELOG.md
---------
Co-authored-by: Stéphane Bruckert <contact@stephanebruckert.com>
2024-06-23 22:29:28 +01:00