/lingva-api

Simple API endpoint based on Lingva Translate

Primary LanguageJavaScript

Lingva API

Simple API endpoint based on Lingva Translate.

Development

Requires Deno.

  • deno task dev - Run the server with watch mode, for development.
  • deno task debug - Run the server with watch mode and debugging, for development.
  • deno task start - Run the server.

REST API Endpoints

  • GET /api/v1/:SOURCE/:TARGET/:QUERY
  • GET /api/v1/audio/:TARGET/:QUERY
  • GET /api/v1/languages/(source|target)?

Parameters:

  • SOURCE - Source language, default: auto.
  • TARGET - Target language, required.
  • QUERY - Text to translate, required.

License

Lingva Translate ©️ thedaviddelta & contributors.