Name: dump_bonusly
Owner: Stanford HCI
Description: Dump bonus.ly info to JSON
Created: 2015-06-08 01:20:39.0
Updated: 2017-06-28 23:08:44.0
Pushed: 2015-09-12 08:54:45.0
Homepage: null
Size: 138
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Dumps bonus.ly badges into a JSON file. Also computes pagerank on the network of badge-giving.
First, get your bonus.ly API key and create a file .getsecret.yaml
with the following format:
sly_api_key: YOUR_API_KEY_GOES_HERE
Then install dependencies:
install
Now run the script:
dump_bonusly.js
The set of badges will now be in bonusly_badges.json
.
Once you have dumped the badges to bonusly_badges.json
, install networkx:
install networkx
And then run the script to compute pagerank:
on compute_pagerank.py