https://github.com/ker0olos/duo-api
A proxy that simplifies getting user info from duolingo internal apis
https://github.com/ker0olos/duo-api
Last synced: 6 months ago
JSON representation
A proxy that simplifies getting user info from duolingo internal apis
- Host: GitHub
- URL: https://github.com/ker0olos/duo-api
- Owner: ker0olos
- License: mit
- Created: 2022-12-26T17:56:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T21:20:49.000Z (almost 3 years ago)
- Last Synced: 2025-02-13T13:50:05.817Z (8 months ago)
- Language: TypeScript
- Homepage: https://duoapi.deno.dev
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Duolingo API proxy
| Endpoint | Description | Type | Requires token |
| ----------------- | ----------------------------------------------------------------- | ------- | -------------- |
| `/` | Returns all of the user data at once | json | optional |
| `/token` | This token is required for retrieving most of the user properties | string | no |
| `/streak` | Returns the ongoing streak | number | no |
| `/xpGoalMetToday` | Returns true if the user met their xp goal for the day | boolean | yes |
| `/freeze` | Returns the number of streak freeze the user has | number | yes |> **Warning** Be VERY careful when using this proxy. DO NOT share your password
> or token with others. This is for your personal use only. Using this in your
> apps or public projects is a very bad idea.### Examples
```shell
curl "https://duoapi.deno.dev/token?username=ker0olos&password=this_is_my_duolingo_password"
eyJ0eXAiOiJ
``````shell
curl "https://duoapi.deno.dev/xpGoalMetToday?id=ker0olos&token=eyJ0eXAiOiJ"
false
``````shell
curl "https://duoapi.deno.dev/streak?id=ker0olos&token=eyJ0eXAiOiJ"
3
```
![]()
![]()
![]()
(Sexy looking KWGTs)