@datafire/rapidapi_football_prediction
v3.0.0
Published
DataFire integration for Football Prediction API
Downloads
2
Readme
@datafire/rapidapi_football_prediction
Client library for Football Prediction API
Installation and Usage
npm install --save @datafire/rapidapi_football_prediction
let rapidapi_football_prediction = require('@datafire/rapidapi_football_prediction').create();
.then(data => {
console.log(data);
});
Description
The Football Prediction API allows developers to get predictions for upcoming football (soccer) matches, results for past matches, and performance monitoring for statistical models.
Actions
api.v2.list_federations.get
Returns an array of all the available federations.
rapidapi_football_prediction.api.v2.list_federations.get({}, context)
Input
- input
object
- X-RapidApi-Key
string
: Your key obtained from https://boggio-analytics.com/fp-api/
- X-RapidApi-Key
Output
- output
object
- data
array
- items
string
- items
- data
api.v2.list_markets.get
Returns an array of all the supported prediction markets
rapidapi_football_prediction.api.v2.list_markets.get({}, context)
Input
- input
object
- X-RapidApi-Key
string
: Your key obtained from https://boggio-analytics.com/fp-api/
- X-RapidApi-Key
Output
- output
object
- data
object
- all
array
- items
string
- items
- allowed_for_your_subscription
array
- items
string
- items
- all
- data
api.v2.performance_stats.get
Returns predictions accuracy in the last 1, 7, 14, 30 days.
rapidapi_football_prediction.api.v2.performance_stats.get({}, context)
Input
- input
object
- X-RapidApi-Key
string
: Your key obtained from https://boggio-analytics.com/fp-api/
- X-RapidApi-Key
Output
- output
object
- data
object
- accuracy
object
- last_14_days
number
- last_30_days
number
- last_7_days
number
- yesterday
number
- last_14_days
- details
object
- last_14_days
object
- lost
integer
- pending
integer
- postponed
integer
- total
integer
- won
integer
- lost
- last_30_days
object
- lost
integer
- pending
integer
- postponed
integer
- total
integer
- won
integer
- lost
- last_7_days
object
- lost
integer
- pending
integer
- postponed
integer
- total
integer
- won
integer
- lost
- yesterday
object
- lost
integer
- pending
integer
- postponed
integer
- total
integer
- won
integer
- lost
- last_14_days
- market
string
- accuracy
- data
api.v2.predictions.get
This endpoint returns by default the next non-expired football predictions. URL parameters can be specified to show specific date in the past or future or to filter by federation and prediction market name.
rapidapi_football_prediction.api.v2.predictions.get({}, context)
Input
- input
object
- X-RapidApi-Key
string
: Your key obtained from https://boggio-analytics.com/fp-api/
- X-RapidApi-Key
Output
Output schema unknown
api.v2.predictions.id.get
Returns all predictions available for a match id.
rapidapi_football_prediction.api.v2.predictions.id.get({
"id": 0
}, context)
Input
- input
object
- id required
integer
: ID of match
- id required
Output
- output
object
- data
array
- items
object
- items
- data
Definitions
This integration has no definitions