Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Basketball

...

To meet customer expectations, we offer the ability to receive statistical data from specific parts of a match (such as a specific half, quarter, set, period).

This data is available in:

  • PUSH messages, in the "event" type message

  • the feed.show endpoint (SportsAPI)

  • the events.show endpoint (SportsAPI)

In the case of certain incidents within the API structure, specifically those that trigger a “break” between parts of a match, there is an additional nesting that contains statistics exclusively for the previous (before the break) part of the match:

  

Sport

(action: insert) - “Break” incidents

“Break” incident ID

Splitted stats for status

Status ID

Note

Soccer

Halftime

445

1st half

33

Soccer

Finished regular time

437

2nd half

34

Soccer

Waiting for extratime

446

2nd half

34

Soccer

Extratime halftime

447

Extratime 1st half

35

Soccer

Finished after extratime

434

Extratime 2nd half

36

Soccer

Waiting for penalty

448

Extratime 2nd half

36

 

 

Am. football

Break after 1st quarter

612

1st quarter

8

Am. football

Break after 2nd quarter

613

2nd quarter

10

Am. football

Break after 3rd quarter

614

3rd quarter

19

Am. football

Finished regular time

624

4th quarter

20

Am. football

Break after 4th quarter

615

4th quarter

20

Am. football

Break after extratime 1

616

Extratime 1

216

Am. football

Break after extratime 2

617

Extratime 2

217

Am. football

Break after extratime 3

618

Extratime 3

218

Am. football

Break after extratime 4

619

Extratime 4

219

Am. football

Halftime

2056

1st half

33

Am. football

Finished after extratime

622

???

??

może być po dowolnej dogrywce

 

Depends on the previous number of extratime

 

 

Ice hockey

Break after 1st period

2263

1st period

41

Ice hockey

Break after 2nd period

2264

2nd period

43

Ice hockey

Finished

16

3rd period

44

Ice hockey

Waiting for overtime

53

3rd period

44

Ice hockey

Break after 1st overtime

2266

1st overtime

338

Ice hockey

Break after 2nd overtime

2277

2nd overtime

340

Ice hockey

Break after 3rd overtime

2278

3rd overtime

342

Ice hockey

Finished after overtime

81

Depends

on the previous number of extratime

 

 

Tennis

Break after 1st set

2211

1st set

134

Tennis

Break after 2nd set

2212

2nd set

65

Tennis

Break after 3rd set

2213

3rd set

35

Tennis

Break after 4th set

2214

4th set

136

Tennis

Finished regular time

233

Depends on the set ended before (2/3/4/5)

Tennis

Retired

76poprzedni status

Depends on the set ended before retirement (1/2/3/4/5)

 

Basketball

Break after 1st quarter

2293

1st quarter

8

Basketball

Break after 2nd quarter

2294

2nd quarter

10

Basketball

Break after 3rd quarter

2295

3rd quarter

19

Basketball

Finished regular time

198

4th quarter

20

Basketball

Waiting for overtime

194

4th quarter

20

Basketball

Break after overtime 1

2297

1st overtime

338

Basketball

Break after overtime 2

2298

2nd overtime

340

Basketball

Break after overtime 3

2299

3rd overtime

342

Basketball

Break after overtime 4

2300

4th overtime

344

Basketball

Finished after overtime

196to zależy

Depends on the previous number of overtime

Basketball

Break after 1st half

2301

1st half

33

Structure of data- example od node in soccer:

"event_status_stats": {

Code Block
"33": [
{
"id": 40,
"value": 0},
{
"id": 8,
"value": 0},

where:

  • event_status_stats - node that contains splitted stats

  • “33” - ID of status for which all the stats have been splitted - in this case - “33” is the 1st haf

    • “id” - ID of splitted statistics (table below)

    • “value” - value of splitted statistics for specific part of the game

In the push messages, along with the aforementioned incidents, we send the following team statistics:

Sport

Splitted team statistcs

Statistics IDs

Soccer

Goals

40

Yellow cards

8

Red cards

9

Corners

13

Substiutions

31

Attacks

10

Dangerous attacks

11

Own goals

17

Penalties scored

14

Penalties missed

15

Penalties given

16

Penalties unsuccessful

697

Penalties saved

639

Total shots

19

Shots on target

20

Shots off target

21

Shots blocked

28

Goal kicks

30

Fouls

22

Offsides

24

Free kicks

25

Dangerous free kicks

26

Throw-ins

32

 

 

Am. football

2 point conversion

1123

Extra points

484

Field goals

485

Fumbles

482

Interceptions

487

Kickoffs

480

Penalties

481

Punts

479

Sacks

489

Safeties

486

Touchdowns

300

2pt conversion attempts

1267

Defensive and Special Teams Touchdown

1285

Extra point attempts

1268

Field goal %

1288

Field goal attempts

1269

Field goals missed

1125

Field goals scored

1124

Interceptions thrown

1260

Pass receptions

1263

Passes completed

1264

Passing attempts

1265

Passing touchdowns

1272

Receiving touchdowns

1273

Rushing attempts

1270

Rushing touchdowns

1274

Turnovers

72

Ice hockey

Attempts blocked

97

Empty net

471

Goals

40

Number of face-offs

712

Number of icings

711

Number of penalties

709

Offsides

24

Penalty minutes

82

Penalty shots

706

Penalty shots missed

708

Penalty shots scored

707

Shots off target

21

Shots on target

20

Total shots

19

Winning face-offs

710

Assists

41

Points

75

Power play assist

79

Power play goals

76

Power Play Shots on target

1404

Save

1230

Shooting Percentage

1401

Shorthanded assists

80

Shorthanded goals

77

Shorthanded Shots on target

1405

Shots blocked

28

Tennis

1st serve %

129

1st serve in %

130

1st services attempts

112

1st services in

111

2nd serve %

132

2nd services attempts

131

Aces

48

Break points

114

Break points won

107

Double faults

106

First service points

126

Points

75

Second service points

127

Break points won percentage

113

Service faults

105

Basketball

2pt attempts

59

2pt scored

58

3pt attempts

57

3pt scored

56

Blocks

71

FG attempts

55

FG scored

54

Fouls

22

FT attempts

61

FT scored

60

Rebounds defensive

63

Rebounds offensive

62

Rebounds total

64

Steals

70

Turnovers

72

Assists

41

2pt percent

101

3pt percent

102

FG percent

100

FT percent

103

Info

The statistics available in the “event_status_stats” node depend on the statistical level included in the customer's plan. The VIP level provides access to all listed statistics, while the GOLD level grants access to only a part of them.