Robohash Image Generator

FREE
By blaazetech
Updated 4 months ago
Entertainment
8.3/10
Popularity Score
3661ms
Latency
100%
Success Rate

Robohash Image Generator API Documentation

Generate a cool looking robot image for any text using this new api.

View API Details
GETRobohash Image Generator
GETRobohash Image Generator

Generate a random and cool looking robot image for your text

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDText for which the image to be generated.
Code Snippet
unirest.get("https://robohash.p.rapidapi.com/index.php?text=mashape")
.header("X-RapidAPI-Host", "robohash.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://robohash.p.rapidapi.com/index.php
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://robohash.p.rapidapi.com/index.php?text=mashape")
.header("X-RapidAPI-Host", "robohash.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