Face Match

FREE
By c9dong
Updated 5 months ago
Entertainment
-/10
Popularity Score
-
Latency
-
Success Rate

Face Match API Documentation

This API collects pictures of K-pop stars from all over the world and return random pictures according to user's request.

View API Details
GETRandom Image
GETRandom male image
GETRandom female image
GETRandom male and female image
GETRandom Image

Returns a random K-pop star picture.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://c9dong-face-match-v1.p.rapidapi.com/random")
.header("X-RapidAPI-Host", "c9dong-face-match-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://c9dong-face-match-v1.p.rapidapi.com/random
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://c9dong-face-match-v1.p.rapidapi.com/random")
.header("X-RapidAPI-Host", "c9dong-face-match-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