Metadata-Version: 2.1
Name: spotify-webapi
Version: 1.0.2
Summary: get tracks of spotify playlists without using the official api
Home-page: https://github.com/ruru4143/spotify-webapi
Author: ruru4143
Author-email: pypi@ruru.pw
License: GPLv3
Download-URL: https://github.com/ruru4143/spotify-webapi1.0.2
Keywords: spotify,track,scaping,webapi,webscraper,song,scraper
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Natural Language :: English
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4

## 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:

```python
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}")
```


