NLP and Voice interface for Apps wit.ai

FREE
By ar7hur
Updated 5 months ago
Communication
1.3/10
Popularity Score
1244ms
Latency
100%
Success Rate

NLP and Voice interface for Apps wit.ai API Documentation

Wit.ai enables developers to build apps and devices that users can talk to.

View API Details
GETMessage
GETMessage

Turn text into structured meaning

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
qSTRING
REQUIREDSentence you want Wit to analyze. First, you should connect to your Wit console and provide samples to Wit!
Code Snippet
unirest.get("https://wit.p.rapidapi.com/message?q=conf+call+with+Eric+tomorrow+morning+at+6am")
.header("X-RapidAPI-Host", "wit.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://wit.p.rapidapi.com/message
Request Method: GET
Response Headers
Response Body

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://wit.p.rapidapi.com/message?q=conf+call+with+Eric+tomorrow+morning+at+6am")
.header("X-RapidAPI-Host", "wit.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