-
Notifications
You must be signed in to change notification settings - Fork 0
/
bloodlinealpha.json
92 lines (92 loc) · 3.37 KB
/
bloodlinealpha.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"openapi": "3.0.0",
"info": {
"title": "BloodLineAlpha NHL GPT API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://bloodlinealpha.com",
"description": "GPT Action Builder API Production Server"
}
],
"paths": {
"/nhl-GPT/api/game-log": {
"get": {
"operationId": "get_NHL_Player_game_logs",
"summary": "Get game logs",
"description": "Retrieve game log data for a specific player, season, and game type.",
"parameters": [
{
"name": "playerId",
"in": "query",
"required": true,
"description": "The ID of the player.",
"schema": {
"type": "string"
}
},
{
"name": "seasonId",
"in": "query",
"required": true,
"description": "The ID of the season.",
"schema": {
"type": "string",
"default": "20232024"
}
},
{
"name": "gameTypeId",
"in": "query",
"required": true,
"description": "The ID of the game type. gameTypeId=2 is regular season, gameTypeId=3 is playoffs",
"schema": {
"type": "string",
"default": "2"
}
},
{
"name": "properties",
"in": "query",
"required": false,
"description": "Comma-separated list of properties to include in the response. Use when trying to find specific stat values. Returns all properties, if not used. Possible values are gameId, goal, assists, commonName, opponentCommonName, points, plusMinus, powerPlayGoals, powerPlayPoints, gameWinningGoals, otGoals, shots, shifts, shorthandedGoals, shorthandedPoints, pim, toi.",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "Limit the number of game logs returned. Order of game logs is from most recent to least recent. Can be used with the isAggregate query parameter.",
"schema": {
"type": "integer",
"default": 82
}
},
{
"name": "isAggregate",
"in": "query",
"required": true,
"description": "Summarizes values from many game logs into a gamelog. If true, this will aggregate game log values for the following properties goals, assists, points, plusMinus, powerPlayGoals, powerPlayPoints, gameWinningGoals, otGoals, shots, shifts, shorthandedGoals, shorthandedPoints, pim, toi. If false, the game logs will be returned without aggregation.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"name": "isAscending",
"in": "query",
"required": true,
"description": "Changes the order of the game logs, default behaviour is descending (most recent games).",
"schema": {
"type": "boolean",
"default": false
}
}
]
}
}
}
}