json2xls

PAID
By json-xls.com
Updated 4 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate
Discussions
Hi Developer, feel free to ask your question:
desertkate:2 years ago
1 Answer

Refund please

martinoconnor:2 years ago
1 Answer

504 GATEWAY_TIMEOUT

GoranMandic:3 years ago
6 Answers

Testing the request gives an API error.

jdibbin:3 years ago
1 Answer

Questions on API

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://json2xls-json-xls-v1.p.rapidapi.com/ConvertJsonRaw?format=XLSX&layout=Auto&view=Both&InternalIDs=Both")
.header("X-RapidAPI-Host", "json2xls-json-xls-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send([{"Name":"root1","children":[{"Name":"AAA","Age":"22","Job":"PPP"},{"Name":"BBB","Age":"25","Job":"QQQ"}]},{"Name":"root2","children":[{"Name":"CCC","Age":"38","Job":"RRR"}]},{"Name":"root3","children":[]}])
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication