language detect

language detect api

GET https://api.sdbots.tech/detect

Query Parameters

NameTypeDescription

text*

String

{
  "lang": ""
}

Example:

import requests

API = "https://api.sdbots.tech/detect?text=Hi"
req = requests.get(API).json()
print(req)

# === OUTPUT ===
{'lang': 'en'}

Last updated