RapidAPI logo

BrainShop.AI

FREE
By Acobot
Updated 4 months ago
Tools
8.4/10
Popularity Score
296ms
Latency
97%
Success Rate

BrainShop.AI API Documentation

Conversational artificial intelligence, or chat bot, that works out of box. Make your own Siri or Cortana. Customizable. Programmable. Free.

View API Details
GET/get?bid={bid}&key={key}&uid={uid}&msg={msg}
GET/get?bid={bid}&key={key}&uid={uid}&msg={msg}

Returns an artificial intelligence response to user message. Sign up at http://brainshop.ai for your own bid and key.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
keySTRING
REQUIRED
msgSTRING
REQUIRED
bidSTRING
REQUIRED
uidSTRING
REQUIRED
Code Snippet
unirest.get("https://acobot-brainshop-ai-v1.p.rapidapi.com/get?bid=178&key=sX5A2PcYZbsN5EY6&uid=mashape&msg=Hello!")
.header("X-RapidAPI-Host", "acobot-brainshop-ai-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://acobot-brainshop-ai-v1.p.rapidapi.com/get?bid={bid}&key={key}&uid={uid}&msg={msg}
Request Method: GET
Response Headers
Response Body
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://acobot-brainshop-ai-v1.p.rapidapi.com/get?bid=178&key=sX5A2PcYZbsN5EY6&uid=mashape&msg=Hello!")
.header("X-RapidAPI-Host", "acobot-brainshop-ai-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication