Skip to content

points_rank no longer available #112

@jmares

Description

@jmares

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 the duolingo.py from this repository and remove the one reference to points_rank in the function get_language_progress(self, lang).

Current code:

fields = ['streak', 'language_string', 'level_progress',
     'num_skills_learned', 'level_percent', 'level_points',
     'points_rank', 'next_level', 'level_left', 'language',
     'points', 'fluency_score', 'level']

Modified code:

fields = ['streak', 'language_string', 'level_progress',
     'num_skills_learned', 'level_percent', 'level_points',
     'next_level', 'level_left', 'language',
     'points', 'fluency_score', 'level']

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions