npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/rapidapi_football_prediction

v3.0.0

Published

DataFire integration for Football Prediction API

Downloads

6

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/

Output

  • output object
    • data array
      • items string

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/

Output

  • output object
    • data object
      • all array
        • items string
      • allowed_for_your_subscription array
        • items string

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/

Output

  • output object
    • data object
      • accuracy object
        • last_14_days number
        • last_30_days number
        • last_7_days number
        • yesterday number
      • details object
        • last_14_days object
          • lost integer
          • pending integer
          • postponed integer
          • total integer
          • won integer
        • last_30_days object
          • lost integer
          • pending integer
          • postponed integer
          • total integer
          • won integer
        • last_7_days object
          • lost integer
          • pending integer
          • postponed integer
          • total integer
          • won integer
        • yesterday object
          • lost integer
          • pending integer
          • postponed integer
          • total integer
          • won integer
      • market string

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/

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

Output

  • output object
    • data array
      • items object

Definitions

This integration has no definitions