mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Bump to 2.7.0
This commit is contained in:
parent
1807905572
commit
30b7ea198f
@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.7.0] - 2020-01-20
|
||||
|
||||
### Added
|
||||
|
||||
- Support for `playlist_tracks`
|
||||
@ -13,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Changed
|
||||
|
||||
- `user_playlist_tracks` doesn't require a user anymore
|
||||
- `user_playlist_tracks` doesn't require a user anymore (accepts `None`)
|
||||
|
||||
### Deprecated
|
||||
|
||||
|
||||
28
README.md
28
README.md
@ -4,35 +4,13 @@
|
||||
|
||||
[](https://spotipy.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
|
||||
## Documentation
|
||||
|
||||
Spotipy's full documentation is online at [Spotipy Documentation](http://spotipy.readthedocs.org/).
|
||||
|
||||
|
||||
## Installation
|
||||
If you already have [Python](http://www.python.org/) on your system you can install the library simply by downloading the distribution, unpack it and install in the usual fashion:
|
||||
|
||||
```bash
|
||||
python setup.py install
|
||||
```
|
||||
|
||||
You can also install it using a popular package manager with
|
||||
|
||||
```bash
|
||||
pip install spotipy
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
easy_install spotipy
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
- [Requests](https://github.com/kennethreitz/requests) - spotipy requires the requests package to be installed
|
||||
|
||||
|
||||
## Quick Start
|
||||
|
||||
@ -46,16 +24,14 @@ Add your new ID and SECRET to your environment:
|
||||
|
||||
Then, create a Spotify object and call methods:
|
||||
|
||||
```python
|
||||
import spotipy
|
||||
from spotipy.oauth2 import SpotifyClientCredentials
|
||||
|
||||
sp = spotipy.Spotify(client_credentials_manager=SpotifyClientCredentials())
|
||||
|
||||
results = sp.search(q='weezer', limit=20)
|
||||
for i, t in enumerate(results['tracks']['items']):
|
||||
print(' ', i, t['name'])
|
||||
```
|
||||
for idx, track in enumerate(results['tracks']['items']):
|
||||
print(idx, track['name'])
|
||||
|
||||
## Reporting Issues
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user