lichess-org / api

Lichess API documentation and examples
https://lichess.org/api
GNU Affero General Public License v3.0
417 stars 140 forks source link

Is it possible to retrieve the study chapter titles when pulling from the API? #221

Closed vesper8 closed 1 year ago

vesper8 commented 1 year ago

I've been experimenting with the Lichess Study API and everything works great. The only issue I see right now is that the chapter titles themselves are not available anywhere. It's a super minor thing but I was just wondering if there's a way to retrieve that as well that I might have overlooked?

Many thanks!

vesper8 commented 1 year ago

Nevermind, I understand now that the "event" field is a combination of both the study name and the chapter name, so to isolate the study name you have to split that string on the semi-colon