https://www.duolingo.com/profile/evang522

Duolingo API User JSON file

I apologize if this has been asked before, but here goes:

As a lover of Duolingo and a developer I make use of the user JSON file returned by the url ‘/users/:username’

All I am using from this JSON response is the points ranking data array for my following list. But the API returns an insane amount of data, 23KB worth every time. I would love to be able to use this without unnecessarily taking up Duolingo’s network bandwidth. Is there any other URL that returns a smaller subset of data about a user and their followers?

Thanks

July 22, 2018

10 Comments


https://www.duolingo.com/profile/evang522

For anyone looking at this later, this site has fairly good documentation of some existing Duolingo API info:

https://tschuy.com/duolingo/api/endpoints.html

July 23, 2018

https://www.duolingo.com/profile/FieryCat

Try this link. 52146611 in the link is your userID.

And you can select which fields you want to see by adding a special parameter: ?fields=subscribers{id,username,picture,etc}

July 22, 2018

https://www.duolingo.com/profile/evang522

Thanks, this is perfect! Do you know if there is any documentation on that endpoint?

July 22, 2018

https://www.duolingo.com/profile/FieryCat

You're welcome. Even if there is such documentation, I do not know about that.

July 22, 2018

https://www.duolingo.com/profile/evang522

Thank you @FieryCat. One further question I wonder if you know the answer to. Is it possible to retrieve the list of people that you are currently following from this endpoint?

July 22, 2018

https://www.duolingo.com/profile/FieryCat

What is wrong with this method?

July 22, 2018

https://www.duolingo.com/profile/evang522

I'm looking to get the information on the people I am following more than I am the information about people that are following me.

July 22, 2018

https://www.duolingo.com/profile/evang522

This is perfect. Thank you :D

July 22, 2018

https://www.duolingo.com/profile/FieryCat

Oh, I'm sorry. This link will help you.

July 22, 2018

https://www.duolingo.com/profile/Thomas.Heiss

Is there a mobile club API which I can use on the web?

https://forum.duolingo.com/comment/27976082/FEATURE-REQUEST-Club-API-Collect-leaderboard-statistics-from-1-weeks-after-SU-00-00am-next-day

How would this work to trace all API commands of the Duolingo Android app on my local Windows computer with the KOPlayer Android emulator?

Would I have to install a sniffer tool on my OpenWRT wireless Linux router?

I have another Linux computer for VOIP, but it is not working as a router, instead of like a normal server which is just connected to the Internet Linux router.

Can I sniff the Duolingo Android app calls to the Duolingo server also locally on this computer?

It might be a little bit of help to be able to collect all club leaderboard statistics between 00:00am-02:00am automatically.

I do believe that there is no way to retrieve the club leaderboard XPs from the last week on Monday after they are getting resetted?

Clubs probably have not been designed for that.

As several users (club members) do multiple courses in PARALLEL, their extended user profile (calendar objects) is no real help, as the actively language is quite often set to very different one from the club language pair.

The global user XP is no help.
Instead of the language_data calendar objects would have to be read.

July 24, 2018
Learn a language in just 5 minutes a day. For free.