Portrait3D

FREEMIUM
By avatarion
Updated 4 months ago
Media
-/10
Popularity Score
-
Latency
-
Success Rate
ismaelc5 years ago
Response from create avatar endpointGot this response - { "avatar": "fcsslb" } What does it mean?
avatarion5 years ago
This is the ID of your avatar. Please refer to documentation page for more details: http://avatarion.com/portrait3D/.
ismaelc5 years ago
It would be great if you can put that in the Readme section here in Mashape
Hi Developer, feel free to post your answer:

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.post("https://avatarion-portrait3d.p.rapidapi.com/create/")
.header("X-RapidAPI-Host", "avatarion-portrait3d.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication