lcnetdev / scriptshifter

Creative Commons Zero v1.0 Universal
15 stars 6 forks source link

Provide s2r or r2s availability in the GET /languages response #112

Closed thisismattmiller closed 1 month ago

thisismattmiller commented 4 months ago

Would be useful for building interfaces to know what scripts had s2r, r2s or both capability in the languages response.

scossu commented 4 months ago

If you need this information in a pinch, you can use the /table/<lang> endpoint and check the JSON for the presence of the script_to_roman and/or roman_to_script sections. But I agree that this would be a useful shortcut to add to the languages endpoint.

scossu commented 4 months ago

This is being tackled as part of #104, which is a pretty large commit that will take some time, but it's in the works.

scossu commented 1 month ago

Fixed in #130.