2021年3月26日星期五

Duolingo Api Help Python

I am using the Duolingo API but I can not figure out how to get only a certain thing. Sorry, I do not know the terminology.

import duolingo  lingo = duolingo.Duolingo('x', "x")  xp = lingo.get_daily_xp_progress()  print(xp)  

The output is

{'xp_goal': 50, 'lessons_today': [], 'xp_today': 0}  

How do I only get xp_today?

https://stackoverflow.com/questions/66824369/duolingo-api-help-python March 27, 2021 at 05:12AM

没有评论:

发表评论