json2xls

PAID
By json-xls.com
Updated 4 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate

json2xls API Overview

Converts JSON and XML files to

  • CSV /TSV
  • XLS/XLSX (Excel spreadsheet format)
  • HTML files using Plain and Hierarchical rendering view.
Contact API Provider
star-blueRate

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