1.0.3 • Published 3 years ago
simsimi-api v1.0.3
Simsimi
Free Simsimi Talk API
Prerequisites
Before starting, make sure you've met the following requirements:
Node.js v16.x
Installation 📑
Install latest version from NPM:
npm i simsimi-apiTest package
npm testUsage
const simsimi = require('simsimi-api');
function sim(message, language) {
simsimi.simtalk(message, language).then((response) => {
console.log(response);
});
}
sim("hi", "en");Response 📨
{
"status": "success",
"id": 0,
"text": "hi",
"message": "đéo ai yêu mày đâu liuliu",
"language": "vn",
"donate": {
"paypal": "cloneek5@gmail.com"
},
"contact": "https://t.me/simsimiapi",
"ip": "2402:800:6215:ec7d:7963:c487:82dd:ae50"
}If it doesn't know how to answer, or text has emojis
{
detail: 'I do not know how to answer. Teach me the answer.'
}{
detail: 'Emoticons can not be understood.'
}Arguments
await sim.simtalk(text, language);text: Actual text to ask, must be string. language: Language you want to talk, see Here for more.