A small weekend project with questionable architectural choices made with personal goals to
1. Build my first Electron app 2. Grab listening data from Spotify 3. Get inventive in making convoluted loops
Follow the instructions found here to register an app, read about how to do authentication properly. Once an app has been registered, enter your client_id, client_secret and redirect_uri in config.yml
(see example-config.yml
on format).
npm start
DEBUG=app npm start
Trying to consistently output data as local new-line json files.
Getting recently played tracks appears to be a bit unstable. The cursor object referenced in the doc seems to be not returned at times
• If you're running this application for the first time or you've changed the scope, open your browser and navigate to localhost:8888 (default port) to authenticate.