Open jmares opened 2 years ago
I'm having a similar issue with the points_ranking_data
key (likely due to the same change). Minimal example of this failing:
import time
from duolingo import Duolingo
from secret import duolingo_password, duolingo_username
duolingo = Duolingo(duolingo_username, duolingo_password)
query_results = duolingo.get_leaderboard('week', time.time())
As I am only using a couple of the functions from this package, I was wondering if it was the only change to the API. Apparently, it isn't.
Yep, apparently, quite a few things got broken. get_friends() doesn't work since the 4th of Dec.
Same problem here, also ran into the problem with get_friends()
.
Ignored the errors so far, and only now found time to look into this.
Is there going to be a new release with a fix for this soon?
@isaacnorman82 I will open a pull request and I hope that it will be merged.
Any update @Bapt5 ?
OK I raised https://github.com/KartikTalwar/Duolingo/pull/126
Is this project still active?
Since 2021-12-04 I received error messages triggered by missing
points_rank
. Is it possible Duolingo changed its API?My temporary (?) solution was to remove all references to
points_rank
in my code, download theduolingo.py
from this repository and remove the one reference topoints_rank
in the functionget_language_progress(self, lang)
.Current code:
Modified code:
As I didn't do anything with
points_rank
apart from storing it in a database, that was all it took to get my app up and running again.