I searched the forum but couldn’t find an answer to this.
Is there a simple way to export all of my LingQs and known words, including their status (Known, LingQ levels 1–4, etc.) into a CSV or similar format?
I’d like to use the export to generate personalised graded stories with AI. The idea is for the stories to use almost entirely vocabulary I already know, introduce only a handful of new words, and gradually adapt as my vocabulary grows.
If there’s a built in export, an API, or a workaround that people are using, I’d really appreciate any advice.
The export I’ve found so far only exports all lingqs but doesn’t identify to what level they are known.
Ye, but the LingQ API is very limited. You basically need to monitor the network traffic to figure out how stuff works and create out your own solution. In my experience the LingQ team won’t help with API related matters and they don’t keep up to date documentation.
If you export your data to csv/anki from the vocabulary tab you will get fairly limited columns and you are not able to restrict it to certain statuses.
You can use the /cards endpoint to return your full data in JSON in a paginated format
You want to fetch all the returned pages and then filter by status 0, 1, 2, 3
If the card has status 3 and extended_status 3 it’s a ‘known’ card and can be filtered out
0=status 1, 1=status 2, 2=status 3, 3=status 4, 3 with extended_status 3 = known
If you’re opening the API link from outside the browser (Like a python script or server side request) you want to use Token/Bearer with your API key from here. (I forget if it’s Token or Bearer that is required)