mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
commit
23bf3c9d88
@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Changes the YouTube video link for authentication tutorial (the old video was in low definition, the new one is in high definition)
|
- Changes the YouTube video link for authentication tutorial (the old video was in low definition, the new one is in high definition)
|
||||||
- Updated links to Spotify in documentation
|
- Updated links to Spotify in documentation
|
||||||
- Improve usability on README.md
|
- Improve usability on README.md
|
||||||
|
- Fix `user_playlists_contents` example.
|
||||||
|
|
||||||
## [2.23.0] - 2023-04-07
|
## [2.23.0] - 2023-04-07
|
||||||
|
|
||||||
|
|||||||
@ -25,8 +25,7 @@ if __name__ == '__main__':
|
|||||||
print(playlist['name'])
|
print(playlist['name'])
|
||||||
print(' total tracks', playlist['tracks']['total'])
|
print(' total tracks', playlist['tracks']['total'])
|
||||||
|
|
||||||
results = sp.playlist(playlist['id'], fields="tracks,next")
|
tracks = sp.playlist_items(playlist['id'], fields="items,next", additional_types=('tracks', ))
|
||||||
tracks = results['tracks']
|
|
||||||
show_tracks(tracks)
|
show_tracks(tracks)
|
||||||
|
|
||||||
while tracks['next']:
|
while tracks['next']:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user