Liga NOS Live Scores

FREEMIUM
By heisenbug
Updated 2 months ago
Sports
4.5/10
Popularity Score
513ms
Latency
100%
Success Rate

Liga NOS Live Scores API Documentation

Liga NOS Live Scores API allows to retrieve current season results, scorers, lineups, substitutes, events, statistics and much more all with live updates, for the top professional Portuguese football league. And more is coming…

View API Details
Liga NOS
GETSeason matches results
GETLeague Table
GETLineups and substitutes for a game
GETMatch events
GETMatch scorers
GETMatch statistics
GETMissing players for a match
GETPlayer stats for a match
GETTop scorers
GETPlayer details
GETLeague Players
GETSeason matches results

Returns season matches results

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
matchdayNUMBER
OPTIONALReturns all the game for the match day specified [1-34]
dateSTRING
OPTIONALReturns all matches for the date (format mmddyyyy)
team1STRING
OPTIONALReturns all matches with team1
team2STRING
OPTIONALReturn all matches with team2
liveBOOLEAN
OPTIONALReturns only playing matches with live updates (default false)
Code Snippet
unirest.get("https://heisenbug-liga-nos-live-scores-v1.p.rapidapi.com/api/liganos?matchday=1")
.header("X-RapidAPI-Host", "heisenbug-liga-nos-live-scores-v1.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://heisenbug-liga-nos-live-scores-v1.p.rapidapi.com/api/liganos
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://heisenbug-liga-nos-live-scores-v1.p.rapidapi.com/api/liganos?matchday=1")
.header("X-RapidAPI-Host", "heisenbug-liga-nos-live-scores-v1.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