Python package to control Spotify and Spotify Connect without requiring spotify locally installed
Project description
Spotify and Spotify Connect CLI
version number: 0.1 author: Hicham Tahiri
Overview
Python package to control Spotify and Spotify Connect without requiring spotify official client locally installed.
Uses the awesome Spotipy library.
Installation
To install use pip:
$ pip install spoticonnect
Or clone the repo:
$ git clone https://github.com/aerospeace/spoticonnect.git
$ cd spoticonnect
$ python setup.py install
Initial setup
To get started, install spoticonnect and create an app on https://developers.spotify.com/
Run spoticonnect
a first time to run the initial environment setup.
- The environment setup will ask you to input your app details (i.e. username, client_id, client_secret and redirect_url).
- The redirect url can be any valid url not bound, for instance http://localhost:888/callback
- Those credentials will be saved in ~/.config/spoticonnect/configuration.ini
- The underlying awesome library Spotipy will then take charge of opening a browser window for you to authorise spoticonnect to access your Spotify app api.
- Following approval, you will have to copy the final url back to your terminal (Yes this is a convoluted process, please blame Spotify, and not nor Spotipy developpers.
Usage
spoticonnect --help for details
Contributing
TBD
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
spoticonnect-0.2.tar.gz
(4.6 kB
view details)
File details
Details for the file spoticonnect-0.2.tar.gz
.
File metadata
- Download URL: spoticonnect-0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 812d91d036ceed6e343c56a60e1278de41b1c86f598f9ae137977b63b5404aaf |
|
MD5 | 36f51e4d01511bddc3f5c48239771d9f |
|
BLAKE2b-256 | 0077a52c83def9cbbedec410aea98cf4fc38d0e62b2d3fbc45fce3c67d322a3f |