Skip to content

cheeaun/lingva-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.