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

sport-score

v1.0.8

Published

score de jogos para bet365

Downloads

36

Readme

version env version

introduction

api for sports statistics and real-time bet365 games. With it you can choose sports data like:

  • Basketball
  • Tennis
  • Table Tennis
  • Hockey
  • Esports
  • Handball
  • Volleyball
  • Baseball
  • American Football
  • Motorsport
  • Rugby
  • More
  • Darts
  • Cricket
  • Snooker
  • Futsal
  • Badminton
  • Aussie Rules
  • Beach Volleyball
  • Waterpolo
  • Floorball
  • Bandy

Where all live data can be set from your current time in UTC format.

install and implementation

you can apply this library to your project through the NPM or Yarn repository

npm install sport-score --save

and now import the library into your javascript project

import Score from "sport-score";

const api = new Score({
    version: 'v1',//version from API
    sport: 'football'//sport model
});

get language

use this method for get automatic language and region.

  • define true or false for get local language
api.getlang(true).then(rest => {
    console.log(rest) // callback
})

get event number

use this method for get the number of live events

api.eventCount().then(rest => {
    console.log(rest) // callback
})

get scheduled Events

to get scheduled Events, you can use this:

api.scheduledEvents('2021-05-06').then(rest => {
    console.log(rest)
})

get event odds

use this method for get the odds information.

  • you can define language for callback.
api.oddsProviders('PT').then(rest => {
    console.log(rest)
})

get web configurations

use this method for get web configuration.

  • you can define language for callback.
api.config.uniqueTournamentsWeb('BR').then(rest => {
    console.log(rest) // callback
})

get Football configurations

use this method for get Football configuration.

  • you can define language for callback.
api.config.uniqueTournamentsFootball('BR').then(rest => {
    console.log(rest) // callback
})

get Football configurations

use this method for get Football configuration.

  • you can define language for callback.
api.config.uniqueTournamentsFootball('BR').then(rest => {
    console.log(rest) // callback
})

get sport detail

this method get all sport information with details from games.

// for get Top games from today
api.trendingTopPlayers().then(rest => {
    console.log(rest)
})
// get all data from spect day (if null is from today for default). Define number of rows if you like.
api.toDay('2021-05-06', '1000').then(rest => {
    console.log(rest)
})
//get categories from all games.
api.categories().then(rest => {
    console.log(rest)
})

get in live events

this method return all live events.

api.live().then(rest => {
    console.log(rest)
})

get Odds Information

to get odds information, you can use 2 methods:

//this method returns all odd informations in live
api.oddsFeaturedEvents('2021-05-06', '1', '-10800').then(rest => {
    console.log(rest)
})
//this method return a spect odds for any event in live
api.fracionalOdds('9223864').then(rest => {
    console.log(rest)
})

get statistic data

for get statistics and metrics for a any event, you can use this method:

api.statistics('9223864').then(rest => {
    console.log(rest)
})

probability win based in popular votes

to get a probability win statistic, you can use this method:

api.votes('9223864').then(rest => {
    console.log(rest)
})
  • Note: this method return a popular vote for a event in live. This have a significant error margin.

For more details.

Contact-me on telegram: @victorratts