RapidAPI logo

Audio 2D Code

FREE
By zhulianxing
Updated 4 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate

Audio 2D Code API Documentation

Audio-2d-Code is a new technology to share links using sound which can replace 2Dcode, NFC and Bluetooth in many occasions. By the means of sound broadcasting, the effective range can reach up to 3 meters. The SDK was designed for extension into many use-cases just like file transmission, tickets, broadcasting and other related fields. Now it supports iOS, Android, Windows Phone 8 and server development. The client SDK supports multiple platforms. For more information, please refer to the Getting Started page.

View API Details
POSTDownload
POSTGetWave
POSTUpload
POSTDownload
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
dataTokenSTRING
REQUIRED
Code Snippet
unirest.post("https://zhulianxing-audio-2d-code.p.rapidapi.com/download.php")
.header("X-RapidAPI-Host", "zhulianxing-audio-2d-code.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("dataToken=0ee220b0e01c0914")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://zhulianxing-audio-2d-code.p.rapidapi.com/download.php
Request Method: POST
Response Headers
Response Body
Log inSign up

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://zhulianxing-audio-2d-code.p.rapidapi.com/download.php")
.header("X-RapidAPI-Host", "zhulianxing-audio-2d-code.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("dataToken=0ee220b0e01c0914")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication