Insult Generator

FREE
By Lakerolmaker
Updated 4 months ago
8.2/10
Popularity Score
631ms
Latency
99%
Success Rate

Insult Generator API Documentation

Get's a random insult from over 529308 different combinations

View API Details
GETRandom insult
POSTDaily insult
GETRandom insult

this retrives a randomly genreated insult

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
modeSTRING
REQUIRED
modeSTRING
REQUIRED
Code Snippet
unirest.get("https://lakerolmaker-insult-generator-v1.p.rapidapi.com/?mode=random")
.header("X-RapidAPI-Host", "lakerolmaker-insult-generator-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://lakerolmaker-insult-generator-v1.p.rapidapi.com/
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://lakerolmaker-insult-generator-v1.p.rapidapi.com/?mode=random")
.header("X-RapidAPI-Host", "lakerolmaker-insult-generator-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