Placepuppy

FREE
By chrisdel101
Updated 5 months ago
8.4/10
Popularity Score
257ms
Latency
86%
Success Rate

Placepuppy API Documentation

BASE URL: http://place-puppy.com. A place to get images of puppies to use in code and design.

View API Details
GET/200x200
GET/200x200

Enter any numbers in the following format, in front of the base URL, place-puppy.com, to receive an image of a puppy

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