Audiosocket

FREEMIUM
By audiosocket
Updated 4 months ago
1.6/10
Popularity Score
673ms
Latency
100%
Success Rate

Audiosocket API Documentation

Audiosocket's MaaS (Music as a Service) application allows application and game developers to incorporate amazing music into their experiences without the hassle of a formal licensing agreement.

View API Details
GETPing
GETTracks
GET/tracks/{id}.{format}
GETPing

Ping

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://audiosocket.p.rapidapi.com/ping")
.header("X-RapidAPI-Host", "audiosocket.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://audiosocket.p.rapidapi.com/ping
Request Method: GET
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.get("https://audiosocket.p.rapidapi.com/ping")
.header("X-RapidAPI-Host", "audiosocket.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication