mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Bump to 2.8.0
This commit is contained in:
parent
94a26407a7
commit
db65b98790
@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.8.0] - 2020-02-12
|
||||
|
||||
### Added
|
||||
|
||||
- Support for `playlist_cover_image`
|
||||
@ -13,8 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- CI for unit tests
|
||||
- Automatic `token` refresh
|
||||
- `auth_manager` and `oauth_manager` optional parameters added to `Spotify`'s init.
|
||||
- Optional `username` parameter to be passed to SpotifyOAuth, to infer a `cache_path` automatically
|
||||
- Optional `username` parameter to be passed to `SpotifyOAuth`, to infer a `cache_path` automatically
|
||||
- Optional `as_dict` parameter to control `SpotifyOAuth`'s `get_access_token` output type. However, this is going to be deprecated in the future, and the method will always return a token string
|
||||
- Optional `show_dialog` parameter to be passed to `SpotifyOAuth`
|
||||
|
||||
### Changed
|
||||
- Both `SpotifyClientCredentials` and `SpotifyOAuth` inherit from a common `SpotifyAuthBase` which handles common parameters and logics.
|
||||
|
||||
@ -19,8 +19,10 @@ A full set of examples can be found in the [online documentation](http://spotipy
|
||||
To get started, install spotipy and create an app on https://developers.spotify.com/.
|
||||
Add your new ID and SECRET to your environment:
|
||||
|
||||
export SPOTIPY_CLIENT_ID='your-spotify-client-id'
|
||||
export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
|
||||
export SPOTIPY_CLIENT_ID=client_id_here
|
||||
export SPOTIPY_CLIENT_SECRET=client_secret_here
|
||||
|
||||
// on Windows, use `SET` instead of `export`).
|
||||
|
||||
Then, create a Spotify object and call methods:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user