spotify websapi
Note: This libary can only parse the first 50 songs of a playlist! (spotify web limitations)
No login, no apikey, no apilimit just webparsing
How to use:
import spotify_webapi as sp
playlist_string = "https://open.spotify.com/playlist/0r8WNX8191PI6lHnmwXWPA?"
another_playlist_string = "spotify:playlist:37i9dQZF1DWZeKCadgRdKQ"
song_string = '<iframe src="https://open.spotify.com/embed/track/3PQLYVskjUeRmRIfECsL0X" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>'
print("pulling playlist...")
pl = sp.Playlist(playlist_string)
print("pulling song...")
tr = sp.Track(song_string)
print("init playlist obj without pulling\n")
pl2 = sp.Playlist(another_playlist_string, False)
print(f"songs of {pl.title}")
print(f"third song of the playlist: {pl.tracks[2].title}\n")
print(f"{tr.title} was released on {tr.releasedate}")
Release files for spotify-webapi 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spotify_webapi-1.0.3.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spotify_webapi-1.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 19.3 kB
Release files / spotify_webapi-1.0.3.tar.gz
| Download URL | spotify_webapi-1.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f1023c5d091a4193d576321fdb274467f124fee5b5c83b58e4ad7e3d2fa801c
|
|
BLAKE2b-256 checksum How to use checksums |
ae4b80214928a89869a4e49c5ac1ce5b3b084b4fa8f86df1c7ed5e6c060fc496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / spotify_webapi-1.0.3-py2.py3-none-any.whl
| Download URL | spotify_webapi-1.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ebbb70d4ef4763eb41350a42bf76a1597d9c1b9b1bfe1ae07d61fec2d37369c5
|
|
BLAKE2b-256 checksum How to use checksums |
7b5d20111bdb43189d485c5cf8af8d58679d3aeb556abd1ab3d980c796143725
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|