I did some tests with the LingQ API today and am finding that for some of what I want to do I am missing info in the API methods.
The Lesson List method from the API is either unsorted or defaults to the order lessons were added to the LingQ database, my list or purely random. I am not sure which. However it presents no data to use to sored it with. How about adding the following data fields to the List Lessons method:
Collection
Lesson number in its Collection (Something like track number on a CD)
Duration
Difficulty/Level
Accent
Type
Provider
Category
Created
Without at least “Collection” and “Lesson number in its Collection” there is not much sense in doing what I am wanting to do. I could still do it but with the randomness of the listing and no way to sort it, it would be difficult to use.
I would also like to suggest adding a List Collection method that would allow you to list all the Collections you have lessons from as the default. Give the same method a collection name and it would return all your lessons in that collection.
Am I correct that the API right now is very focused on the LingQ users data? I see that the only changes that can be made are to ones to lingqs. Not a way to search the library and add new lessons to a LingQ account. Is this coming or planned at all?
Thanks for your time in considering these additions to the LingQ API.
Thanks for the suggestions Frederick. We will try to include this information when we next update the API. You are correct in saying that, at the moment, our api is focused on displaying a learner’s lessons and updating information about them. The ability to choose new lessons is not part of anything we have done. What is it that you are trying to do?
No, that is not what I am trying to do, however I did notice that that functionality is not there yet. What I would like to do is be able to pull up all the lessons that I have added to my lesson that belong to a collection and be able to sort them in the correct order that they should appear. I would like to make it so that I can then listen to the lessons from that collection.
There is a way to get the lessons now but not the collection that they belong to nor what lesson number they are in that collection. With out this info I end up with a large unsorted list of lessons. The audio url is there so it is easy enough to play the audio for the lesson. I just want the ability to be able to sort them by lesson number and select them by collection.
I hope that makes it clearer.
I find with LingQ I do better online studying of the text after listening to the audio a number of times. I start to hear words and want to know exactly what they mean. My desire is to be able to pull up the audio from a collection quickly so I can listen to the lessons in it.