Commit Graph

69 Commits

Author SHA1 Message Date
dependabot[bot]
0836acdfd1
Update sphinx-rtd-theme requirement from ~=3.0.2 to ~=3.1.0
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/3.0.2...3.1.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-version: 3.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 14:01:51 +00: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
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
d319c6e09f Move examples to spotipy-dev/spotipy-examples, add as submodule 2025-01-19 17:21:18 +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
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
Stéphane Bruckert
ef282e2423
Removed outdated contributors from RTD 2024-06-23 22:30:54 +01:00
Brennan Pate
d92951b356
Update Directions In TUTORIAL.md; Add Unit Tests To non_user_endpoints test.py (#1136)
* Update navigational directions in Step 1(A)

* Combine directions in Step 1(B) and Step 2(C) and remove Step 2(C)

* Update navigational directions and verbage in Step 1(C)

* Change reference from Step 1(C) to Step 1(B) in Step 2(D)

* Update capitalization in Prerequisites Step 3

* Add directions for installing Spotipy in Prerequisites Step 1(A)

* List updates to TUTORIAL.md file in CHANGELOG.md

* Update docstrings for funcs in lines 340-585

* Add unit tests for artist ID and URL

* Add test_artists_mixed_ids

* Updated CHANGELOG.md and TUTORIAL.md as requested

* Update client.py and test.py

* Fix linting issue

* Remove duplicate line; Change order of prerequisites

* Update local repo

* Add test_artists_mixed_ids

* Add Radiohead ID and URL; Add qotsa URL

* Add test_artist_url

* Comment out three failing tests

* Fix linting errors

* Uncommenting out failed tests

* Add test_artist_id

* List changes in CHANGELOG.md

* Add line breaks at the end of files.

* Remove multiple spaces

Also I've removed a sentence that just doesn't make sense in my eyes, but was added before this PR.

---------

Co-authored-by: Niko <github@dieserniko.link>
2024-06-22 17:35:53 +02:00
Niko
126da62dd0
Fix API Reference (#1126)
* add base directory to PATH

* Check if build completes if redis is included
2024-05-30 20:33:17 +02:00
andrewcara
62a27a20e0
Added MemcacheCacheHandler (#1042)
* Added MemcacheCacheHandler

* Import MemcacheError where used

* Update index.rst

---------

Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
2024-05-30 19:01:16 +01:00
Stéphane Bruckert
1ce8c4f06b
RTD theme fix (#1122)
* pip sphinx-rtd-theme

* Bump sphinx

* Add extension

* Add docs/requirements.txt

* CL
2024-05-28 09:08:23 +01:00
Stephane Bruckert
2d1cb99be7 Use sphinx_rtd_theme 2024-05-28 08:36:22 +01:00
Stéphane Bruckert
cc24b4c22f
Fix RTD build 2024-05-27 13:06:21 +01:00
jackattack825
e153dabe7c
Update index.rst (#1087)
spelling issue
2024-05-23 07:40:08 +02:00
Hugo van Kemenade
85c9d74dc1
Drop support for EOL Python 3.7 (#1065)
* Add python_requires to help pip

* Update supported versions in tox.ini

* Upgrade Python syntax with pyupgrade --py37-plus

* Bump GitHub Actions

* Add Python 3.11 and 3.12 to CI

* Remove six dependency

* Remove redundant dependencies

* Remove redudant Python 3.5 code

* Drop support for EOL Python 3.7

* Upgrade Python syntax with pyupgrade --py38-plus

* Update CHANGELOG

* More f-strings

---------

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-05-21 18:32:01 +02:00
melissa
958ff6ad2b
Reorganized index.rst for improved logical flow (#1054)
* reorganized sections without changing any header. Made a few small grammar fixes.

* cleaning up examples section.

* updating changelog for proposed edits
2024-05-21 10:28:38 +02:00
adhil0
d31969108d
Update links in documentation (#969)
* updating links to Spotify documentation

* add changes to CHANGELOG.md
2023-05-02 22:26:40 +01:00
darwady2
3b6d14404e
Updates the video link to a high definition video (#967)
* Updates the video link to a high definition video for setting the SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET values and authenticating. The old video was getting some complaints about people not being able to read the text (since it was low quality), so I've re-recorded it and replaced it with this new version.

* Adds changes to Chanelog

---------

Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
2023-04-24 13:21:19 +01:00
Suyash Bajpai
ca332a538e
Fixing a typo in the docs (#945)
spotispy --> spotipy
2023-02-28 07:41:22 +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
Bryan Malyn
7fc08809f0
Add FlaskSessionCacheHandler (#833)
Updated examples/app.py
Updated CHANGELOG.md and appropriate docs.
2022-06-25 20:00:08 +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
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
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
Michael Stewart
72280c850b
Update index.rst (#696)
Not sure how to edit RSt properly, but wanted to point out for others the superhelpful feature that spotipy already includes code to launch an http server to listen for the http callback
2021-06-26 20:19:44 +01:00
Stephane Bruckert
ef2ed1a9c5 Bump to 2.17.0 2021-02-28 10:12:26 +01:00
Stephane Bruckert
c7f2edf343 Deprecate util.prompt_for_user_token() 2020-06-14 18:01:14 +01:00
Jonas Camillus Jeppesen
d3bab0f054
Fix issue with hanging authorization process if no port is provided, fixes #471, fixes #474 (#477)
* Fixed issue where using rediret uri 'localhost' (without specifying a port) would cause the authorization process to hang (not asking the user to paste/enter the URL redirected to)

* Updated the documentation to match the changes to the authorization process - also kind of fixing issues #474 and #471

* Fixed Flake8 over-indentation remark
2020-04-19 22:39:03 +01:00
Stephane Bruckert
9df45e858e Add missing auth to doc examples, fixes #427 2020-01-21 23:34:50 +00:00
Stephane Bruckert
45c3e5e951 Update/remove outdated examples 2020-01-16 23:47:18 +00:00
Stephane Bruckert
ab75d3d30c Use README as PyPi description 2020-01-16 17:47:15 +00:00
Stephane Bruckert
83a1cb54ef Fix doc and readme 2020-01-16 03:54:39 +00:00
Stephane Bruckert
7d507ad224 Bump to 2.6.1 2020-01-13 17:05:06 +00:00
Stéphane Bruckert
280e140b40
Merge branch 'master' into patch-1 2020-01-11 23:51:58 +00:00
Harrison
d8d9f290fb remove unneccesary whitespaces, shorten some lines, and add name to contibutors 2020-01-11 19:56:00 +00:00
Thomas Bechtold
909fa14977 docs: Use the print() function instead of the built-in
This is compatible with python2 and python3 so the examples don't
throw a SyntaxError when trying them with python 3.

Closes #329
2020-01-11 19:54:21 +00:00
Josh Chorlton
f872f5b90c Minor docs fix 2020-01-11 19:54:21 +00:00
Apurva Chitnis
cc473caf06
improve redirect wording and fix minor bugs 2019-08-26 23:35:20 +01:00
waterafternoon
1a03750ecf Passing credentials into method
clear example of using credentials without having to use environment variables
2017-07-22 08:23:33 -07:00
Michael Birtwell
8dc90d2687 Add me to the contributors list 2017-01-07 16:22:03 +00:00
Paul Lamere
6b8ef3f4b0 Merge branch 'support_changing_playlist_details' of https://github.com/nathancoleman/spotipy into nathancoleman-support_changing_playlist_details 2016-12-31 18:07:41 -05:00
Paul Lamere
f98791e8e3 Merge pull request #67 from arska/master
clarify SPOTIPY_REDIRECT_URI registration/authentication process
2016-12-31 11:48:53 -05:00
Paul Lamere
45232a2489 improved example 2016-12-31 09:41:47 -05:00
Nathan Coleman
931abce4d7 Merge branch 'master' into support_changing_playlist_details
Conflicts:
	spotipy/client.py
2016-08-22 21:29:52 -05:00
Kevin M Granger
c0cb456999 Make special-members only show __init__
We don't need to see all of __dict__, thanks!
2016-06-20 10:30:15 -04:00