language detect api
GET https://api.sdbots.tech/detect
GET
https://api.sdbots.tech/detect
text*
String
{ "lang": "" }
import requests API = "https://api.sdbots.tech/detect?text=Hi" req = requests.get(API).json() print(req) # === OUTPUT === {'lang': 'en'}
curl --request GET --url https://api.sdbots.tech/detect?text=Hi
var request = require("request"); var options = { method: 'GET', url: 'https://api.sdbots.tech/detect?text=Hi', }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
Last updated 1 month ago