-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathevents.json
48 lines (48 loc) · 1.18 KB
/
events.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"version": 1,
"request": {
"url": "https://www.thesportsdb.com/api/v1/json/1/eventspastleague.php",
"method": "GET",
"params": {
"id": true
}
},
"examples": {
"id": 4387
},
"response": {
"ctype": "application/json",
"tablePath": "$.events[*]",
"schema": {
"id": {
"target": "$.idEvent",
"type": "int"
},
"sport": {
"target": "$.strSport",
"type": "string"
},
"home_team": {
"target": "$.strHomeTeam",
"type": "string"
},
"away_team": {
"target": "$.strAwayTeam",
"type": "string"
},
"home_score": {
"target": "$.intHomeScore",
"type": "int"
},
"away_score": {
"target": "$.intAwayScore",
"type": "int"
},
"spectators": {
"target": "$.intSpectators",
"type": "int"
}
},
"orient": "records"
}
}