Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use unauthenticated Duolingo API endpoint for streak data #1

Open
TimCinel opened this issue Aug 17, 2023 · 0 comments
Open

Use unauthenticated Duolingo API endpoint for streak data #1

TimCinel opened this issue Aug 17, 2023 · 0 comments

Comments

@TimCinel
Copy link
Owner

TimCinel commented Aug 17, 2023

Exploring the (undocumented) Duolingo API, I noticed I could get streak data using unauthenticated requests:

$ curl https://www.duolingo.com/2017-06-30/users/REDACTED_NUMERIC_ID\?fields\=streak,username

{"streak":14,"username":"TimCinel"}%

I would prefer to use this approach, since we only care about streak status. The Duolingo package, which we currently rely on, is currently broken and seems to be less actively maintained.

@GegoSK GegoSK mentioned this issue Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant