hacdias / silos-collector

💻 Data collectors from some silos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Silos Collectors

This is a compilation of some silos data collectors I use for my strictly personal use. Feel free to reuse code and use it for your own purposes.

Swarm

Collects Swarm history.

  1. Create an application on https://foursquare.com/developers/apps/.
    • The callback should be http://localhost:PORT/callback where PORT is defined on .env.
  2. Run ./bin.js swarm login and append the result to .env.
  3. Run ./bin.js swarm sync and then a file called history.json will be generated.

Trakt

Collects Trakt history.

  1. Create an application on https://trakt.tv/oauth/applications/new.
    • The callback should be http://localhost:PORT/callback where PORT is defined on .env.
  2. Fill the TRAKT_DATA_DIR where the history will be dumped. The directory must exist.
  3. Run ./bin.js trakt login and append the result to .env.
  4. Run ./bin.js trakt sync and then a file called history.json will be generated.

LastFM

To write...

Known Issues

  • This does not deal with token refreshes so it won't be able to refresh the token.

About

💻 Data collectors from some silos.

License:MIT License


Languages

Language:JavaScript 97.2%Language:Shell 2.8%