1.0.3 • Published 2 years ago
freesimi v1.0.3
Freesimi
Free Simsimi Talk API Reverse Engineered from the App
Prerequisites
Before starting, make sure you've met the following requirements:
Node.js v16.x
Install
Install latest version from NPM:
npm i freesimi
Test package
npm test
Usage
const freesimi = require('freesimi');
const uid = await freesimi.initUser();
const response = await freesimi.talk('Hi pal', 'en', 1, uid);
console.log(response);
Expects something like
{
origin_sentence: 'Hi Paul',
sentence: 'hi paul',
sentenceLinkId: 38331629,
timestamp: '2022-09-16 03:28:44.057734'
}
Where origin_sentenced is uncensored response.
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 freesimi.talk(text, language, level, uid);
text: Actual text to ask, must be string. language: Language you want to talk, see Here for more. level: Between 1 and 10, the higher it is, the more explicit it will be. uid: userid (anonymous) generated from register
TODO
Teaching
Talk to another simsimis
Ban Handling
User Accounts
????
License
This project is under license. see the file LICENSE for more details.