@datafire/apitore_languagedetectionapis
Client library for Language Detection APIs
Installation and Usage
npm install --save datafire @datafire/apitore_languagedetectionapis
let datafire = require('datafire');
let apitore_languagedetectionapis = require('@datafire/apitore_languagedetectionapis').create();
apitore_languagedetectionapis.getUsingGET({}).then(data => {
console.log(data);
})
Description
Language detection.
[Endpoint] https://api.apitore.com/api/22
Actions
getUsingGET
Language Detection.
Response
Github: langdetect-response
Class: com.apitore.banana.response.org.jsoup.LanguageResponseEntity
apitore_languagedetectionapis.getUsingGET({
"access_token": "",
"text": ""
}, context)
Parameters
- access_token (string) required - Access Token
- text (string) required - Text [10-20 words over is recommended]
smGetUsingGET
Language Detection.
Response
Github: langdetect-response
Class: com.apitore.banana.response.org.jsoup.LanguageResponseEntity
apitore_languagedetectionapis.smGetUsingGET({
"access_token": "",
"text": ""
}, context)
Parameters
- access_token (string) required - Access Token
- text (string) required - Text [Short message like tweet is supported]