If I want to construct the URL for a given suttas text in bilara-data, how do I do this?
For something like MN8 this is straightforward - https://github.com/suttacentral/bilara-data/blob/published/translation/en/sujato/sutta/mn/mn8_translation-en-sujato.json.
But for something like Iti14 - https://github.com/suttacentral/bilara-data/blob/published/translation/en/sujato/sutta/kn/iti/vagga2/iti14_translation-en-sujato.json - how do I know to add the “/vagga2/” part?
Is there some lookup table that maps suttas to URLs?
Wow you have just chosen the most difficult example! The content of the Iti folders does not follow any logical system. While translating that collection, when I was looking for a particular Sutta, I just went there and opened the folders to look what is inside …
Not sure if there’s a better way? Learn them by heart?