Skip to content

Instantly share code, notes, and snippets.

@Riizade
Created March 17, 2020 20:11
Show Gist options
  • Save Riizade/63a6d9be4a23658a039792105014a85e to your computer and use it in GitHub Desktop.
Save Riizade/63a6d9be4a23658a039792105014a85e to your computer and use it in GitHub Desktop.
body of request from Duolingo desktop when viewing a friend
{
"users": [
{
"joinedClassroomIds": [],
"streak": 5,
"motivation": "none",
"picture": "//duolingo-images.s3.amazonaws.com/avatars/1421889/rB1lIOc7RU",
"learningLanguage": "zh",
"hasFacebookId": true,
"liveOpsFeatures": [],
"inviteURL": "https://invite.duolingo.com/BDHTZTB5CWWKTJTFTHOACQXOFA",
"canUseModerationTools": false,
"id": 1421889,
"privacySettings": [],
"fromLanguage": "en",
"hasRecentActivity15": false,
"_achievements": [
{
"tier": 3,
"count": 5,
"tierCounts": [
2,
7,
30
],
"name": "streak",
"shouldShowUnlock": false
},
{
"tier": 3,
"count": 0,
"tierCounts": [
10,
20,
88
],
"name": "completion",
"shouldShowUnlock": false
},
{
"tier": 3,
"count": 775,
"tierCounts": [
20,
50,
200
],
"name": "spending",
"shouldShowUnlock": false
},
{
"tier": 3,
"count": 25,
"tierCounts": [
1,
1,
1
],
"name": "items",
"shouldShowUnlock": false
},
{
"tier": 3,
"count": 36,
"tierCounts": [
1,
1,
1
],
"name": "time",
"shouldShowUnlock": false
},
{
"tier": 3,
"count": 0,
"tierCounts": [
3,
3,
1
],
"name": "social",
"shouldShowUnlock": false
},
{
"tier": 3,
"count": 29,
"tierCounts": [
50,
100,
200
],
"name": "xp",
"shouldShowUnlock": false
},
{
"tier": 3,
"count": 385,
"tierCounts": [
1,
5,
20
],
"name": "perfect",
"shouldShowUnlock": false
}
],
"observedClassroomIds": [],
"username": "sarahrscientist",
"bio": "",
"hasGoogleId": true,
"optionalFeatures": [
{
"status": "ON",
"id": "convert_lingots_to_gems"
},
{
"status": "ON",
"id": "levels_opt_in_v1"
},
{
"status": "AVAILABLE",
"id": "stories_ios"
},
{
"status": "ON",
"id": "leaderboards_opt_in"
},
{
"status": "AVAILABLE",
"id": "stories_ios_waitlist"
}
],
"globalAmbassadorStatus": {},
"currentCourseId": "DUOLINGO_ZH-CN_EN",
"hasPhoneNumber": false,
"creationDate": 1356499022,
"achievements": [],
"hasPlus": false,
"name": "Sarah Johnson",
"roles": [
"users"
],
"emailVerified": true,
"courses": [
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Chinese",
"learningLanguage": "zh",
"xp": 2220,
"healthEnabled": true,
"fromLanguage": "en",
"crowns": 41,
"id": "DUOLINGO_ZH-CN_EN"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Spanish",
"learningLanguage": "es",
"xp": 500,
"healthEnabled": true,
"fromLanguage": "en",
"crowns": 28,
"id": "DUOLINGO_ES_EN"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Francese",
"learningLanguage": "fr",
"xp": 20512,
"healthEnabled": true,
"fromLanguage": "it",
"crowns": 245,
"id": "DUOLINGO_FR_IT"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "French",
"learningLanguage": "fr",
"xp": 10922,
"healthEnabled": true,
"fromLanguage": "en",
"crowns": 191,
"id": "DUOLINGO_FR_EN"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Romanian",
"learningLanguage": "ro",
"xp": 113,
"healthEnabled": true,
"fromLanguage": "en",
"crowns": 13,
"id": "DUOLINGO_RO_EN"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Danish",
"learningLanguage": "da",
"xp": 2788,
"healthEnabled": true,
"fromLanguage": "en",
"crowns": 43,
"id": "DUOLINGO_DA_EN"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Italian",
"learningLanguage": "it",
"xp": 6599,
"healthEnabled": true,
"fromLanguage": "en",
"crowns": 92,
"id": "DUOLINGO_IT_EN"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Latin",
"learningLanguage": "la",
"xp": 0,
"healthEnabled": true,
"fromLanguage": "en",
"crowns": 0,
"id": "DUOLINGO_LA_EN"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Arabic",
"learningLanguage": "ar",
"xp": 857,
"healthEnabled": true,
"fromLanguage": "en",
"crowns": 11,
"id": "DUOLINGO_AR_EN"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Espagnol",
"learningLanguage": "es",
"xp": 2170,
"healthEnabled": true,
"fromLanguage": "fr",
"crowns": 50,
"id": "DUOLINGO_ES_FR"
},
{
"preload": false,
"placementTestAvailable": false,
"authorId": "duolingo",
"title": "Allemand",
"learningLanguage": "de",
"xp": 530,
"healthEnabled": true,
"fromLanguage": "fr",
"crowns": 11,
"id": "DUOLINGO_DE_FR"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment