API documentation

[GET] /api/translate

[POST] /api/translate

Description

Translation endpoint, input must be URL-encoded (e.g. multi-byte characters, words separated by space)

Arguments

  • engine
  • from
  • text
  • to

[GET] /api/source_languages

[GET] /api/target_languages

Description

Get a JSON array of supported source and target languages for a particular engine

Arguments

  • engine

[GET] /api/tts

Description

Obtain text-to-speech audio files from an engine, provided said engine supports them

Arguments

  • engine
  • lang
  • text

[GET] /robots.txt

[POST] /switchlanguages

Description

Switch between source and target languages, as long as the source language isn't "auto"

Must only be called inside the form interface

[GET] /version

Description

Return the software version as a JSON array