Get currently playing song and artist from Spotify faster without using the API.
Project description
SwSpotify
SwSpotify is a python library to get the song and artist of the currently playing song from the Spotify application faster and without using the API. It works on Windows, Linux and macOS.
The original repository was spotilib which worked just for Windows and hasn't been updated since a long while when it broke on account of Spotify updating their application.
Installation
Requires Python3. Use pip or pip3 depending on your installation.
pip install SwSpotify
Usage
Use it in your project by importing it as:
from SwSpotify import spotify
Then you can access the song and artist as:
>>> spotify.song()
>>> spotify.artist()
Compiling SwSpotify for Development
- Clone the repo by
git clone https://github.com/SwagLyrics/SwSpotify.git
or use ssh. cd
into the cloned repo.pip install -e .
the -e flag installs it locally in editable mode.
Contributing
Sure, improvements/fixes/issues everything is welcome :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for SwSpotify-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea0e7b4dfaa48f12c5ed2ad6661b24706df0d0866c1ced54dd00786c4c9c3c0c |
|
MD5 | ed7732054af6e6428e55d342c8d12a94 |
|
BLAKE2b-256 | 01f1a033ff0a4c64fa32f1add5688d58a7a9d8a221c99ccfce62447d7e453fbe |