Skip to content

Code examples and migration guides for the Langbly translation API. Switch from Google Translate in minutes.

License

Notifications You must be signed in to change notification settings

Langbly/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Langbly Examples

Code examples and migration guides for the Langbly translation API.

Examples

Example Language Description
curl cURL Basic API calls with curl
python-quickstart Python Getting started with the Python SDK
js-quickstart TypeScript Getting started with the JS/TS SDK
migrate-google Python + JS Migrate from Google Translate v2

Quick Start (cURL)

# Translate text
curl -X POST https://api.langbly.com/language/translate/v2 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "Hello world", "target": "nl"}'

# Response:
# {"data":{"translations":[{"translatedText":"Hallo wereld","detectedSourceLanguage":"en"}]}}

Links

About

Code examples and migration guides for the Langbly translation API. Switch from Google Translate in minutes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages