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]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.8.0] - 2020-02-12
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Support for `playlist_cover_image`
|
- 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
|
- CI for unit tests
|
||||||
- Automatic `token` refresh
|
- Automatic `token` refresh
|
||||||
- `auth_manager` and `oauth_manager` optional parameters added to `Spotify`'s init.
|
- `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 `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
|
### Changed
|
||||||
- Both `SpotifyClientCredentials` and `SpotifyOAuth` inherit from a common `SpotifyAuthBase` which handles common parameters and logics.
|
- 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/.
|
To get started, install spotipy and create an app on https://developers.spotify.com/.
|
||||||
Add your new ID and SECRET to your environment:
|
Add your new ID and SECRET to your environment:
|
||||||
|
|
||||||
export SPOTIPY_CLIENT_ID='your-spotify-client-id'
|
export SPOTIPY_CLIENT_ID=client_id_here
|
||||||
export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
|
export SPOTIPY_CLIENT_SECRET=client_secret_here
|
||||||
|
|
||||||
|
// on Windows, use `SET` instead of `export`).
|
||||||
|
|
||||||
Then, create a Spotify object and call methods:
|
Then, create a Spotify object and call methods:
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open("README.md", "r") as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='spotipy',
|
name='spotipy',
|
||||||
version='2.7.1',
|
version='2.8.0',
|
||||||
description='A light weight Python library for the Spotify Web API',
|
description='A light weight Python library for the Spotify Web API',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user