Poly

FREE
By zakutynsky
Updated 5 months ago
Data
-/10
Popularity Score
-
Latency
-
Success Rate

Poly API Documentation

Discover, view, and download thousands of free 3D assets directly in your AR and VR apps.

View API Details
POSTgetAccessToken
POSTgetAssetsList
POSTgetSingleAsset
POSTgetUserAssetsList
POSTgetUsersLikedAssetsList
POSTrefreshToken
POSTrevokeAccessToken
POSTgetAccessToken

Get AccessToken.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
redirectUriSTRING
REQUIREDThe same redirect URL as in received Code step.
clientSecretCREDENTIALS
REQUIREDClient secret.
clientIdCREDENTIALS
REQUIREDClient ID.
codeSTRING
REQUIREDCode you received from Google after the user granted access
Code Snippet
unirest.post("https://35.184.159.202:8080null")
.header("X-RapidAPI-Host", "35.184.159.202:8080")
.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);
});
Sample Response
General
Request URL: https://35.184.159.202:8080null
Request Method: POST
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.post("https://35.184.159.202:8080null")
.header("X-RapidAPI-Host", "35.184.159.202:8080")
.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