Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
betscoreapi
Advanced tools
betScore is a library for obtaining real-time game data across multiple markets for bet365©
use npm for instal this lib and request in your project:
~$ npm install betscoreapi
import or require this lib for your project, example:
const betsScore = require('betscoreapi');
now create a callback function for get data:
var bets = new betScore()
bets.all(0).then((data) => {
console.log(data)
})
this output:
{
events: [
{
sport: [Object],
roundInfo: [Object],
customId: 'HQfh',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8848591,
statusDescription: '-',
hasLiveForm: false,
name: 'Arsenal - Liverpool',
startTime: '15:30',
formatedStartDate: '29.08.2020.',
startTimestamp: 1598715000,
slug: 'liverpool-arsenal',
uniqueTournamentId: 346,
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasSubScore: false,
hasAggregatedScore: false,
hasFirstToServe: false,
hasDraw: true,
votingEnabled: true,
hasTime: false,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
roundInfo: [Object],
customId: 'hOsGO',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8747785,
statusDescription: '-',
hasLiveForm: false,
name: 'São Paulo - Corinthians',
startTime: '14:00',
formatedStartDate: '30.08.2020.',
startTimestamp: 1598796000,
slug: 'sao-paulo-corinthians',
uniqueTournamentId: 325,
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasSubScore: false,
hasAggregatedScore: false,
hasFirstToServe: false,
hasDraw: true,
votingEnabled: true,
hasTime: false,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
roundInfo: [Object],
customId: 'tOsGuc',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8747962,
statusDescription: '-',
hasLiveForm: false,
name: 'Santos - Flamengo',
startTime: '19:00',
formatedStartDate: '30.08.2020.',
startTimestamp: 1598814000,
slug: 'flamengo-santos',
uniqueTournamentId: 325,
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasSubScore: false,
hasAggregatedScore: false,
hasFirstToServe: false,
hasDraw: true,
votingEnabled: true,
hasTime: false,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
roundInfo: [Object],
customId: 'fOsnO',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8747882,
statusDescription: '-',
hasLiveForm: false,
name: 'Bahia - Palmeiras',
startTime: '22:00',
formatedStartDate: '29.08.2020.',
startTimestamp: 1598738400,
slug: 'palmeiras-bahia',
uniqueTournamentId: 325,
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasSubScore: false,
hasAggregatedScore: false,
hasFirstToServe: false,
hasDraw: true,
votingEnabled: true,
hasTime: false,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
roundInfo: [Object],
customId: 'ZHsLI',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8738542,
statusDescription: '-',
hasLiveForm: false,
name: 'Olympique Lyonnais - Dijon',
startTime: '19:00',
formatedStartDate: '28.08.2020.',
startTimestamp: 1598641200,
slug: 'dijon-olympique-lyonnais',
uniqueTournamentId: 34,
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasSubScore: false,
hasAggregatedScore: false,
hasFirstToServe: false,
hasDraw: true,
votingEnabled: true,
hasTime: false,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
roundInfo: [Object],
customId: 'HXfsvJg',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8913029,
hasSubScore: true,
hasFirstToServe: true,
hasDraw: false,
hasTime: true,
name: 'Djokovic N. - Bautista Agut R.',
startTime: '18:20',
formatedStartDate: '28.08.2020.',
startTimestamp: 1598638800,
statusDescription: '-',
slug: 'bautista-agut-djokovic',
uniqueTournamentId: 2373,
periods: [Object],
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasAggregatedScore: false,
votingEnabled: true,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
roundInfo: [Object],
customId: 'rFhsxpt',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8913053,
hasSubScore: true,
hasFirstToServe: true,
hasDraw: false,
hasTime: true,
name: 'Konta J. - Azarenka V.',
startTime: '15:00',
formatedStartDate: '28.08.2020.',
startTimestamp: 1598626800,
statusDescription: '-',
slug: 'konta-azarenka',
uniqueTournamentId: 2548,
periods: [Object],
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasAggregatedScore: false,
votingEnabled: true,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
roundInfo: [Object],
customId: 'xtbsItb',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8907430,
periods: [Object],
hasDraw: false,
name: 'Toronto Raptors - Boston Celtics',
startTime: '22:30',
formatedStartDate: '29.08.2020.',
startTimestamp: 1598740200,
statusDescription: '-',
slug: 'toronto-raptors-boston-celtics',
uniqueTournamentId: 132,
hasLineups: false,
hasLineupsList: true,
hasStatistics: false,
hasSubScore: false,
hasAggregatedScore: false,
hasFirstToServe: false,
votingEnabled: true,
hasTime: false,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
roundInfo: [Object],
customId: 'CybsUyb',
status: [Object],
winnerCode: 0,
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8903902,
hasDraw: false,
name: 'Boston Bruins - Tampa Bay Lightning',
startTime: '23:30',
formatedStartDate: '28.08.2020.',
startTimestamp: 1598657400,
statusDescription: '-',
slug: 'tampa-bay-lightning-boston-bruins',
uniqueTournamentId: 234,
periods: [Object],
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasSubScore: false,
hasAggregatedScore: false,
hasFirstToServe: false,
votingEnabled: true,
hasTime: false,
isSyncable: true,
confirmedLineups: false
},
{
sport: [Object],
customId: 'efAbshfAb',
status: [Object],
homeTeam: [Object],
awayTeam: [Object],
homeScore: {},
awayScore: {},
time: {},
changes: [Object],
hasHighlights: false,
hasHighlightsStream: false,
hasGlobalHighlights: false,
id: 8689047,
inningsCount: 0,
hasDraw: true,
name: 'England - Pakistan',
startTime: '17:00',
formatedStartDate: '28.08.2020.',
startTimestamp: 1598634000,
statusDescription: '-',
slug: 'england-pakistan',
uniqueTournamentId: 11191,
periods: [Object],
hasLineups: false,
hasLineupsList: false,
hasStatistics: false,
hasSubScore: false,
hasAggregatedScore: false,
hasFirstToServe: false,
votingEnabled: true,
hasTime: false,
isSyncable: true,
confirmedLineups: false
}
]
}
to get spect Id for event use data.id
for get
bets.event(8747962).then((data) => {
console.log(data)
})
is this output:
{
markets: [
{
sourceId: 92632687,
structureType: 1,
marketId: 1,
marketName: 'Full time',
isLive: false,
fid: 92632687,
suspended: false,
id: 11281921,
choices: [Array]
},
{
sourceId: 92632687,
structureType: 1,
marketId: 2,
marketName: 'Double chance',
isLive: false,
fid: 92632687,
suspended: false,
id: 11281961,
choices: [Array]
},
{
sourceId: 92632687,
structureType: 1,
marketId: 3,
marketName: '1st half',
isLive: false,
fid: 92632687,
suspended: false,
id: 11281962,
choices: [Array]
},
{
sourceId: 92632687,
structureType: 1,
marketId: 4,
marketName: 'Draw no bet',
isLive: false,
fid: 92632687,
suspended: false,
id: 11281963,
choices: [Array]
},
{
sourceId: 92632687,
structureType: 1,
marketId: 6,
marketName: 'First team to score',
isLive: false,
fid: 92632687,
suspended: false,
id: 11281964,
choices: [Array]
},
{
sourceId: 92632687,
structureType: 2,
marketId: 9,
marketName: 'Match goals',
choiceGroup: '2.5',
isLive: false,
fid: 92632687,
suspended: false,
id: 11281965,
choices: [Array]
},
{
sourceId: 92632687,
structureType: 1,
marketId: 17,
marketName: 'Asian handicap',
isLive: false,
fid: 92632688,
suspended: false,
id: 11282129,
choices: [Array]
}
]
}
FAQs
data score for bet365
We found that betscoreapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.