Correct Spotify/Spotipy typo. Document refers the user to the "Spotify GitHub repository" while the associated link is actually to the Spotipy GitHub repo.
* 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
* 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>
* 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>
* reorganized sections without changing any header. Made a few small grammar fixes.
* cleaning up examples section.
* updating changelog for proposed edits
* 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>
* 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.
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
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
* 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