RapidAPI logo

Sign Up

Log In

Quote Of The Day

PAID
By yoavshalev
Updated 3 months ago
Other
-/10
Popularity Score
-
Latency
-
Success Rate

Quote Of The Day API Documentation

API for Quotes database

View API Details
GET/url: api.wpquoteoftheday.com/category
GET/url: api.wpquoteoftheday.com/quote/{topic_id}
GET/url: api.wpquoteoftheday.com/category

Returns all available topics with id and name

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Request Snippet
unirest.get("https://syqel-quote-of-the-day-v1.p.rapidapi.com/url: api.wpquoteoftheday.com/category")
.header("X-RapidAPI-Host", "syqel-quote-of-the-day-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
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://syqel-quote-of-the-day-v1.p.rapidapi.com/url: api.wpquoteoftheday.com/category")
.header("X-RapidAPI-Host", "syqel-quote-of-the-day-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