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.
- Create an application on https://foursquare.com/developers/apps/.
- The callback should be
http://localhost:PORT/callback
wherePORT
is defined on.env
.
- The callback should be
- Run
./bin.js swarm login
and append the result to.env
. - Run
./bin.js swarm sync
and then a file calledhistory.json
will be generated.
Trakt
Collects Trakt history.
- Create an application on https://trakt.tv/oauth/applications/new.
- The callback should be
http://localhost:PORT/callback
wherePORT
is defined on.env
.
- The callback should be
- Fill the
TRAKT_DATA_DIR
where the history will be dumped. The directory must exist. - Run
./bin.js trakt login
and append the result to.env
. - Run
./bin.js trakt sync
and then a file calledhistory.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.