Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eddiezane/spot-look-back

Saves your Spotify history in PostgreSQL
https://github.com/eddiezane/spot-look-back

Last synced: 2 months ago
JSON representation

Saves your Spotify history in PostgreSQL

Awesome Lists containing this project

README

        

# Spot Look Back

This is a simple app that pulls your 20 most recently played tracks from Spotify and stores them in a PostgreSQL database for future querying. I run this from a Raspberry Pi on a cronjob every 10 minutes.

## Usage

```bash
*/10 * * * * /opt/spot-look-back/spot-look-back -db "postgresql://username:password@host:port/spot-look-back?sslmode=require" -token "Spotify Refresh Token" -clientID "Spotify App Client ID" -clientSecret "Spotify App Client Secret" >> /opt/spot-look-back/out.log
```