All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
getDetails | GET /details/{gameId} | |
getWindow | GET /window/{gameId} |
InlineResponse2009 getDetails(gameId, opts)
import {LolesportsApi} from 'lolesports_api';
let apiInstance = new LolesportsApi.MatchDetailsApi();
let gameId = 789; // Number | The game id of the match
let opts = {
'startingTime': new Date("2013-10-20T19:20:30+01:00"), // Date | The date-time (RFC3339)
'participantIds': "participantIds_example" // String | A list of the participant Ids separated by underscores and not commas
};
apiInstance.getDetails(gameId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
gameId | Number | The game id of the match | |
startingTime | Date | The date-time (RFC3339) | [optional] |
participantIds | String | A list of the participant Ids separated by underscores and not commas | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Window getWindow(gameId, opts)
import {LolesportsApi} from 'lolesports_api';
let apiInstance = new LolesportsApi.MatchDetailsApi();
let gameId = 789; // Number | The game id of the match
let opts = {
'startingTime': new Date("2013-10-20T19:20:30+01:00") // Date | The date-time (RFC3339)
};
apiInstance.getWindow(gameId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
gameId | Number | The game id of the match | |
startingTime | Date | The date-time (RFC3339) | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json