Matches Shotmap
This endpoint allows you to retrieve shot maps for an match.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every minute.
Recommended Calls: Limit calls to 1 per minute.
Use Cases
Get shot map from a specific match_idhttps://basketball.sportdevs.com/matches-shotmap?match_id=eq.{match_id}
Get shot map from a specific team_idhttps://basketball.sportdevs.com/matches-shotmap?team_id=eq.{team_id}
Get shot map from a specific match_id and team_idhttps://basketball.sportdevs.com/matches-shotmap?match_id=eq.{match_id}&team_id=eq.{team_id}
Query Parameters
- match_id integer
Default value:
eq.1428
The id of the match
- team_id integer
Default value:
eq.1619
The id of the team
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- match_id integer
The id of the match
Note: This is a Foreign Key to
matches-live.id
. - team_id integer
The id of the team
Note: This is a Foreign Key to
teams.id
. - shots jsonb
The shots
[
{
"match_id": 1428,
"team_id": 1619,
"shots": [
{
"x": -227,
"y": 120,
"made": 0,
"missed": 1
},
{
"x": -225,
"y": 31,
"made": 0,
"missed": 1
},
{
"x": -209,
"y": 139,
"made": 0,
"missed": 1
},
{
"x": -207,
"y": 149,
"made": 1,
"missed": 0
},
{
"x": -204,
"y": 144,
"made": 1,
"missed": 0
},
{
"x": -191,
"y": 252,
"made": 0,
"missed": 1
},
{
"x": -179,
"y": 11,
"made": 0,
"missed": 1
},
{
"x": -174,
"y": 193,
"made": 1,
"missed": 0
},
{
"x": -168,
"y": 210,
"made": 0,
"missed": 1
},
{
"x": -150,
"y": 36,
"made": 1,
"missed": 0
},
{
"x": -148,
"y": 311,
"made": 1,
"missed": 0
},
{
"x": -142,
"y": 111,
"made": 0,
"missed": 1
},
{
"x": -130,
"y": 154,
"made": 0,
"missed": 1
},
{
"x": -129,
"y": 43,
"made": 0,
"missed": 1
},
{
"x": -129,
"y": 223,
"made": 0,
"missed": 1
},
{
"x": -122,
"y": 124,
"made": 0,
"missed": 1
},
{
"x": -119,
"y": 232,
"made": 0,
"missed": 1
},
{
"x": -106,
"y": 228,
"made": 0,
"missed": 1
},
{
"x": -102,
"y": 242,
"made": 0,
"missed": 1
},
{
"x": -76,
"y": 247,
"made": 1,
"missed": 0
},
{
"x": -68,
"y": 80,
"made": 0,
"missed": 1
},
{
"x": -65,
"y": 257,
"made": 1,
"missed": 0
},
{
"x": -63,
"y": 188,
"made": 0,
"missed": 1
},
{
"x": -52,
"y": 16,
"made": 1,
"missed": 0
},
{
"x": -50,
"y": 164,
"made": 0,
"missed": 1
},
{
"x": -47,
"y": 247,
"made": 0,
"missed": 1
},
{
"x": -40,
"y": 75,
"made": 0,
"missed": 1
},
{
"x": -35,
"y": 110,
"made": 1,
"missed": 0
},
{
"x": -29,
"y": 47,
"made": 1,
"missed": 0
},
{
"x": -17,
"y": 8,
"made": 1,
"missed": 0
},
{
"x": -16,
"y": 33,
"made": 1,
"missed": 0
},
{
"x": -14,
"y": 252,
"made": 0,
"missed": 1
},
{
"x": -11,
"y": 174,
"made": 0,
"missed": 1
},
{
"x": -10,
"y": 70,
"made": 0,
"missed": 1
},
{
"x": -6,
"y": 21,
"made": 1,
"missed": 0
},
{
"x": -4,
"y": 11,
"made": 1,
"missed": 0
},
{
"x": -4,
"y": 23,
"made": 0,
"missed": 1
},
{
"x": -2,
"y": 11,
"made": 0,
"missed": 1
},
{
"x": -2,
"y": 28,
"made": 0,
"missed": 1
},
{
"x": -1,
"y": 7,
"made": 1,
"missed": 0
},
{
"x": -1,
"y": 8,
"made": 1,
"missed": 0
},
{
"x": -1,
"y": 80,
"made": 0,
"missed": 1
},
{
"x": 0,
"y": 1,
"made": 6,
"missed": 0
},
{
"x": 0,
"y": 8,
"made": 0,
"missed": 1
},
{
"x": 0,
"y": 65,
"made": 0,
"missed": 1
},
{
"x": 1,
"y": 21,
"made": 0,
"missed": 1
},
{
"x": 1,
"y": 43,
"made": 0,
"missed": 1
},
{
"x": 2,
"y": 3,
"made": 1,
"missed": 0
},
{
"x": 2,
"y": 28,
"made": 0,
"missed": 1
},
{
"x": 2,
"y": 38,
"made": 0,
"missed": 1
},
{
"x": 4,
"y": 11,
"made": 0,
"missed": 1
},
{
"x": 4,
"y": 18,
"made": 1,
"missed": 0
},
{
"x": 6,
"y": 13,
"made": 0,
"missed": 1
},
{
"x": 6,
"y": 16,
"made": 1,
"missed": 0
},
{
"x": 6,
"y": 26,
"made": 1,
"missed": 0
},
{
"x": 6,
"y": 75,
"made": 1,
"missed": 0
},
{
"x": 9,
"y": 16,
"made": 1,
"missed": 0
},
{
"x": 10,
"y": 8,
"made": 1,
"missed": 0
},
{
"x": 12,
"y": 13,
"made": 1,
"missed": 0
},
{
"x": 12,
"y": 629,
"made": 0,
"missed": 1
},
{
"x": 15,
"y": 16,
"made": 1,
"missed": 0
},
{
"x": 17,
"y": 26,
"made": 0,
"missed": 1
},
{
"x": 19,
"y": 11,
"made": 0,
"missed": 1
},
{
"x": 22,
"y": 262,
"made": 0,
"missed": 1
},
{
"x": 24,
"y": 21,
"made": 0,
"missed": 1
},
{
"x": 27,
"y": 46,
"made": 0,
"missed": 1
},
{
"x": 38,
"y": 169,
"made": 1,
"missed": 0
},
{
"x": 43,
"y": 267,
"made": 0,
"missed": 1
},
{
"x": 50,
"y": 105,
"made": 1,
"missed": 0
},
{
"x": 82,
"y": 234,
"made": 1,
"missed": 0
},
{
"x": 84,
"y": 247,
"made": 0,
"missed": 1
},
{
"x": 84,
"y": 257,
"made": 1,
"missed": 0
},
{
"x": 91,
"y": 117,
"made": 0,
"missed": 1
},
{
"x": 92,
"y": 249,
"made": 0,
"missed": 1
},
{
"x": 107,
"y": 154,
"made": 1,
"missed": 0
},
{
"x": 115,
"y": 234,
"made": 1,
"missed": 0
},
{
"x": 122,
"y": 31,
"made": 0,
"missed": 1
},
{
"x": 123,
"y": 149,
"made": 1,
"missed": 0
},
{
"x": 125,
"y": 213,
"made": 0,
"missed": 1
},
{
"x": 140,
"y": 62,
"made": 1,
"missed": 0
},
{
"x": 148,
"y": 70,
"made": 0,
"missed": 1
},
{
"x": 176,
"y": 213,
"made": 0,
"missed": 1
},
{
"x": 186,
"y": 178,
"made": 0,
"missed": 1
},
{
"x": 220,
"y": 124,
"made": 0,
"missed": 1
},
{
"x": 235,
"y": 46,
"made": 1,
"missed": 0
},
{
"x": 238,
"y": -5,
"made": 0,
"missed": 1
},
{
"x": 240,
"y": 57,
"made": 0,
"missed": 1
}
]
}
]