Created
February 13, 2017 21:58
-
-
Save chrisvasey/b41d6addb9f175840bb75b7d454c02bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import duolingo | |
import json | |
from pprint import pprint | |
#Get Users | |
chris = duolingo.Duolingo('ChrisVasey') | |
grace = duolingo.Duolingo('Grace489298') | |
will = duolingo.Duolingo('WillChambe5') | |
james = duolingo.Duolingo('jameswilsonbrown') | |
mark = duolingo.Duolingo('MarkBurns5') | |
liam = duolingo.Duolingo('Liamjordan11') | |
#Get Streak Data | |
chrisStreak = chris.get_streak_info() | |
graceStreak = grace.get_streak_info() | |
willStreak = will.get_streak_info() | |
jamesStreak = james.get_streak_info() | |
markStreak = mark.get_streak_info() | |
liamStreak = liam.get_streak_info() | |
#print steaks | |
print "Chris: ", (chrisStreak['site_streak']), "Done Today: ",(chrisStreak['streak_extended_today']) | |
print "Grace: ", (graceStreak['site_streak']), "Done Today: ",(graceStreak['streak_extended_today']) | |
print "Will: ", (willStreak['site_streak']), "Done Today: ",(willStreak['streak_extended_today']) | |
print "James:", (jamesStreak['site_streak']), "Done Today: ",(jamesStreak['streak_extended_today']) | |
print "Mark:", (markStreak['site_streak']), "Done Today: ",(markStreak['streak_extended_today']) | |
print "Liam:", (liamStreak['site_streak']), "Done Today: ",(liamStreak['streak_extended_today']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment