Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

anbuinfosec/node-simipro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-simipro

@node-simipro

node-simipro

Unofficial SimSimi API NodeJS
It's Free!

Installation 📑

  • Install Modules
    npm i node-simipro

How to Use 🔭

  • With Asynchronous

    • ESModule
    import simi from 'node-simipro';
    
    async function talk() {
      const res = await simi.simitalk ("4v3pm1KkchRGTTxAILoE", "bro what hepen?", "bn");
      console.log (res)
    }
    
    async function teach() {
      const res = await simi.simiteach ("4v3pm1KkchRGTTxAILoE", "bro what hepen?", "ntg hepen bruh!", "bn");
      console.log (res)
    }
    
    talk ()
    teach ()
    • CommonJS
    const simi = require('node-simipro');
    
    async function talk() {
      const res = await simi.simitalk ("4v3pm1KkchRGTTxAILoE", "bro what hepen?", "bn");
      console.log (res)
    }
    
    async function teach() {
      const res = await simi.simiteach ("4v3pm1KkchRGTTxAILoE", "bro what hepen?", "ntg hepen bruh!", "bn");
      console.log (res)
    }
    
    talk ()
    teach ()
  • Without Asynchronous

    • ESModule
    import simitalk from 'node-simipro';
    
    function talk() {
      simi.simitalk ("4v3pm1KkchRGTTxAILoE", "bro what hepen?", "bn").then((response) => {
        console.log(response);
      });
    }
    
    function teach() {
      simi.simiteach ("4v3pm1KkchRGTTxAILoE", "bro what hepen?", "ntg hepen bruh!", "bn").then((response) => {
        console.log(response);
      });
    }
    
    talk ()
    teach ()
    • CommonJS
    const simitalk = require('node-simipro');
    
    function talk() {
      simi.simitalk ("4v3pm1KkchRGTTxAILoE", "bro what hepen?", "bn").then((response) => {
        console.log(response);
      });
    }
    
    function teach() {
      simi.simiteach ("4v3pm1KkchRGTTxAILoE", "bro what hepen?", "ntg hepen bruh!", "bn").then((response) => {
        console.log(response);
      });
    }
    
    talk ()
    teach ()

Response 📨

  • Example Response simitalk
    {
      "status": true,
      "message": "ohh. bhai big boss evan kon bhai",
      "author": "https://facebook.com/anbuinfosec"
    }
  • Example response simiteach
    {
      "status": true,
      "message": "SimSimi just learned 1th answer to the question \"who is anbuinfosec?\""
    }

Built With 🛠

Error or Bug 🐞

License 📜