Open RaasAhsan opened 5 years ago
getLive
with event data:
{
"data": {
"schedule": {
"updated": "2019-02-28T07:44:48.576Z",
"events": [
{
"startTime": "2019-02-28T08:00:00Z",
"state": "inProgress",
"blockName": "Week 6",
"league": {
"name": "LCK"
},
"match": {
"id": "101388913431558969",
"teams": [
{
"name": "SANDBOX Gaming",
"code": "SB",
"image": "https://lolstatic-a.akamaihd.net/esports-assets/production/team/team-battlecomics-150mx44g.png",
"result": {
"outcome": null,
"gameWins": 0
},
"record": {
"wins": 7,
"losses": 3
}
},
{
"name": "Afreeca Freecs",
"code": "AF",
"image": "https://lolstatic-a.akamaihd.net/esports-assets/production/team/afreeca-freecs-2a8dak1f.png",
"result": {
"outcome": null,
"gameWins": 0
},
"record": {
"wins": 3,
"losses": 7
}
}
],
"strategy": {
"type": "bestOf",
"count": 3
}
}
}
]
}
}
}
{
"data": {
"schedule": {
"updated": "2019-03-09T21:33:43.941Z",
"events": [
{
"startTime": "2019-03-09T00:00:00.000Z",
"state": "inProgress",
"type": "show",
"league": {
"name": "LCS",
"image": "https://lolstatic-a.akamaihd.net/esports-assets/production/league/lcs-79qe3e0y.png"
}
},
{
"startTime": "2019-03-09T14:00:00Z",
"state": "inProgress",
"type": "match",
"blockName": "Week 8",
"league": {
"name": "TCL"
},
"match": {
"id": "101422616594612452",
"teams": [
{
"name": "1907 Fenerbahçe Espor",
"code": "FB",
"image": "https://lolstatic-a.akamaihd.net/esports-assets/production/team/1907-fenerbahce-espor-b5nuqf04.png",
"result": {
"outcome": "win",
"gameWins": 1
},
"record": {
"wins": 13,
"losses": 2
}
},
{
"name": "Galatasaray Espor",
"code": "GS",
"image": "https://lolstatic-a.akamaihd.net/esports-assets/production/team/galatasaray-esports-bamvqliv.png",
"result": {
"outcome": "loss",
"gameWins": 0
},
"record": {
"wins": 8,
"losses": 7
}
}
],
"strategy": {
"type": "bestOf",
"count": 1
}
}
},
{
"startTime": "2019-03-09T21:00:00Z",
"state": "inProgress",
"type": "match",
"blockName": "Week 8",
"league": {
"name": "LLA"
},
"match": {
"id": "101383792625791006",
"teams": [
{
"name": "XTEN Esports",
"code": "XTN",
"image": "https://lolstatic-a.akamaihd.net/esports-assets/production/team/predators-esports-e6cx9vic.png",
"result": {
"outcome": null,
"gameWins": 0
},
"record": {
"wins": 4,
"losses": 10
}
},
{
"name": "Furious Gaming",
"code": "FG",
"image": "https://lolstatic-a.akamaihd.net/esports-assets/production/team/furious-gaming-ej5t1yl9.png",
"result": {
"outcome": null,
"gameWins": 0
},
"record": {
"wins": 2,
"losses": 12
}
}
],
"strategy": {
"type": "bestOf",
"count": 1
}
}
}
]
}
}
}
Fetch API Key from:
Prettified: http://cdn.paste.click/I936jchwVk4I1JXMhVa8HA
With the
prod
key, get live games: