Notice

This page show a previous version of the article

Briefly, ...

For one sentence

https://tatoeba.org/eng/api_v0/sentence/1

Search results

Search: Canadian (not an exact match, so gets "Canadians", too.)

from: eng to: jpn list: 907 direct translations only

https://dev.tatoeba.org/eng/api_v0/search?from=eng&list=907&query=Canadian&trans_filter=limit&trans_link=direct&trans_to=jpn&to=jpn

Search: Boston

from: eng to: jpn audio: yes sort: created (direct and indirect translations)

https://dev.tatoeba.org/eng/api_v0/search?from=eng&trans_filter=limit&query=Boston&sort=created&has_audio=yes&trans_to=jpn&to=jpn

Search: =play (exact match)

from: eng to: jpn list: 907 sort: words direct translations only

https://dev.tatoeba.org/eng/api_v0/search?from=eng&list=907&query=%3Dplay&sort=created&trans_filter=limit&trans_link=direct&trans_to=jpn&to=jpn

Paging

You can find out how many pages there thanks to the count and the perPage in the paging information.

https://dev.tatoeba.org/eng/api_v0/search?from=eng&list=907&query=Canadian&trans_filter=limit&trans_link=direct&trans_to=jpn&to=jpn&page=2

"paging": { "Sentences": { "finder": "all", "page": 2, "current": 8, "count": 18, "perPage": 10, "start": 11, "end": 18, "prevPage": true, "nextPage": false, "pageCount": 2, "sort": null, "direction": null, "limit": null, "sortDefault": false, "directionDefault": false, "scope": null, "completeSort": [] } },

For information on the API, ...

See https://github.com/Tatoeba/tatoeba2/issues/2669