AllSportDB.com

FREEMIUM
By AllSportDB
Updated 5 months ago
Sports
6.8/10
Popularity Score
748ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
Vgp2210inc:22 days ago
1 Answer

General question

iccwordl2019:3 months ago
0 Answers

World CUp 2019 Schedule

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://allsportdb-com.p.rapidapi.com/calendar?objectType=0")
.header("X-RapidAPI-Host", "allsportdb-com.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