Created
September 19, 2026 07:50
-
-
Save creaktive/93b9ca791cce390399622f41a192682c to your computer and use it in GitHub Desktop.
telegraf duolingo elo
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
| # Duolingo chess | |
| [[inputs.http]] | |
| interval = "1h" | |
| urls = ["https://ios-api-cf.duolingo.com/chess/1/27658994/matches?cleanUpActiveMatches=false&fromLanguage=en§ionNumber=5&userTimezone=Europe/Amsterdam"] | |
| method = "GET" | |
| timeout = "10s" | |
| data_format = "json_v2" | |
| tagexclude = ["url"] | |
| [inputs.http.headers] | |
| "accept" = "*/*" | |
| "cookie" = "jwt_token=..." | |
| "accept-language" = "en-US;q=1.0,pt-BR;q=0.9,ru-US;q=0.8" | |
| "x-amzn-trace-id" = "User=27658994" | |
| "user-agent" = "DuolingoMobile/7.133.0 (iPhone; iOS 26.5.2; Scale/3.00)" | |
| "priority" = "u=3" | |
| [[inputs.http.json_v2]] | |
| measurement_name = "duolingo_chess" | |
| [[inputs.http.json_v2.field]] | |
| path = "eloRating" | |
| type = "int" | |
| [[inputs.http.json_v2.field]] | |
| path = "record.draws" | |
| type = "int" | |
| [[inputs.http.json_v2.field]] | |
| path = "record.losses" | |
| type = "int" | |
| [[inputs.http.json_v2.field]] | |
| path = "record.wins" | |
| type = "int" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment