Allow the scope to be either a list or comma separated string (#650)

* Allow the scope to be either a list or comma separated string

* Move normalize scope to util file and make it a base method

Also adjust documentation to reflect the new scope parameter supporting a list

* Add change to CHANGELOG.md
This commit is contained in:
Omer Korner authored and GitHub committed 2021-03-04 18:56:39 +01:00
1 parent d001326cc3
commit e07dd64925
3 files changed
+47 -43

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The query parameters of requests are now logged
- Deprecate specifing `cache_path` or `username` directly to `SpotifyOAuth`, `SpotifyPKCE`, and `SpotifyImplicitGrant` constructors, instead directing users to use the `CacheFileHandler` cache handler
- Removed requirement for examples/app.py to specify port multiple times (only SPOTIPY_REDIRECT_URI needs to contain the port)
- Add support for a list of scopes rather than just a comma separated string of scopes
### Added