https://github.com/hughrawlinson/microspotipy
A micropython wrapper for some of the Spotify Web API
https://github.com/hughrawlinson/microspotipy
emf emfcamp micropython-wrapper spotify tilda
Last synced: 23 days ago
JSON representation
A micropython wrapper for some of the Spotify Web API
- Host: GitHub
- URL: https://github.com/hughrawlinson/microspotipy
- Owner: hughrawlinson
- Created: 2016-08-06T19:38:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-06T19:39:34.000Z (almost 10 years ago)
- Last Synced: 2025-01-26T04:12:54.213Z (over 1 year ago)
- Topics: emf, emfcamp, micropython-wrapper, spotify, tilda
- Language: Python
- Size: 5.86 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MicroSpotipy
A micropython wrapper for some of the Spotify Web API!
## Usage
Instantiate as follows
```
import MicroSpotipy
s = MicroSpotipy(client_id, client_secret)
```
The object `s` has the following methods with arguments.
* `albums(id)`
* `albums_tracks(id)`
* `artists(id)`
* `artists_albums(id)`
* `artists_top_tracks(id)`
* `artists_related(id)`
* `search(type,query)`
* `tracks(id)`
* `users(id)`
The following endpoints require Spotify app credentials, which you can create [here](https://developer.spotify.com/my-applications/)
* `audio_features(id)`
* `featured_playlists()`
* `new_releases()`
* `categories(id="")`
* `categories_playlists(id)`
Not quite yet tested on the Electromagnetic Field TiLDA MK3, but it should be fine. If it doesn't, expect updates. Either way, expect example usages coming to the TiLDA app store "soon".