Retrieve Game Stats
GET {{baseUrl}}/{{version}}/gamestats/event/3527?from_date=2022-01-01&to_date=2024-09-25&sport_id={{sport_id}}&sorting=asc&limit=50
This endpoint allow you to get back a game result of a player.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from_date | string | nullable | |
to_date | string | nullable | |
sport_id | string | ||
sorting | string | nullable | |
limit | number | nullable |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Returns the game stats.","response":{"basketballTeamGameStats":{"current_page":1,"data":[{"gamestat_id":20,"user_id":262903,"org_id":264,"sport_id":5,"team_id":128,"event_id":3527,"game_id":null,"competition_id":null,"gamestat_total_points":0,"gamestat_assist_turnover_ratio":null,"gamestat_performance_index_rating":0,"gamestat_ft_percent":0,"gamestat_2pt_percentage":0,"gamestat_3pt_percentage":0,"gamestat_rebound_percentage":null,"gamestat_field_goal_percentage":null,"gamestat_player_efficiency":0,"gamestat_shooting_percentage":null,"created_by":null,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-08-13T13:30:31.000000Z","updated_at":"2024-08-13T13:30:31.000000Z","profile_first_name":null,"profile_last_name":null,"profile_avatar":null,"profile_number":null},{"gamestat_id":21,"user_id":262585,"org_id":264,"sport_id":5,"team_id":128,"event_id":3527,"game_id":null,"competition_id":null,"gamestat_total_points":0,"gamestat_assist_turnover_ratio":null,"gamestat_performance_index_rating":0,"gamestat_ft_percent":0,"gamestat_2pt_percentage":0,"gamestat_3pt_percentage":0,"gamestat_rebound_percentage":null,"gamestat_field_goal_percentage":null,"gamestat_player_efficiency":0,"gamestat_shooting_percentage":null,"created_by":null,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-08-13T13:30:31.000000Z","updated_at":"2024-08-13T13:30:31.000000Z","profile_first_name":"Hammad","profile_last_name":"Ali","profile_avatar":null,"profile_number":null},{"gamestat_id":17,"user_id":1134,"org_id":264,"sport_id":5,"team_id":128,"event_id":3527,"game_id":null,"competition_id":null,"gamestat_total_points":2,"gamestat_assist_turnover_ratio":null,"gamestat_performance_index_rating":2,"gamestat_ft_percent":0,"gamestat_2pt_percentage":0,"gamestat_3pt_percentage":0,"gamestat_rebound_percentage":null,"gamestat_field_goal_percentage":null,"gamestat_player_efficiency":2,"gamestat_shooting_percentage":null,"created_by":null,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-08-13T13:30:31.000000Z","updated_at":"2024-08-13T13:30:31.000000Z","profile_first_name":"Jason","profile_last_name":"Cruces","profile_avatar":"https://files.teamsportz.app/avatars/1134_1719051556.jpg","profile_number":10},{"gamestat_id":16,"user_id":261894,"org_id":264,"sport_id":5,"team_id":128,"event_id":3527,"game_id":null,"competition_id":null,"gamestat_total_points":1,"gamestat_assist_turnover_ratio":null,"gamestat_performance_index_rating":1,"gamestat_ft_percent":0,"gamestat_2pt_percentage":0,"gamestat_3pt_percentage":0,"gamestat_rebound_percentage":null,"gamestat_field_goal_percentage":null,"gamestat_player_efficiency":0,"gamestat_shooting_percentage":null,"created_by":null,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-08-13T13:30:31.000000Z","updated_at":"2024-08-13T13:30:31.000000Z","profile_first_name":"Ouakhila","profile_last_name":"Torou","profile_avatar":"https://files.teamsportz.app/avatars/261894_1692287433.jpeg","profile_number":3},{"gamestat_id":19,"user_id":261482,"org_id":264,"sport_id":5,"team_id":128,"event_id":3527,"game_id":null,"competition_id":null,"gamestat_total_points":0,"gamestat_assist_turnover_ratio":null,"gamestat_performance_index_rating":0,"gamestat_ft_percent":0,"gamestat_2pt_percentage":0,"gamestat_3pt_percentage":0,"gamestat_rebound_percentage":null,"gamestat_field_goal_percentage":null,"gamestat_player_efficiency":0,"gamestat_shooting_percentage":null,"created_by":null,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-08-13T13:30:31.000000Z","updated_at":"2024-08-13T13:30:31.000000Z","profile_first_name":"Tendai","profile_last_name":"Bethel","profile_avatar":"https://files.teamsportz.app/avatars/261482_1675810391.jpeg","profile_number":66},{"gamestat_id":23,"user_id":262424,"org_id":264,"sport_id":5,"team_id":128,"event_id":3527,"game_id":null,"competition_id":null,"gamestat_total_points":0,"gamestat_assist_turnover_ratio":null,"gamestat_performance_index_rating":0,"gamestat_ft_percent":0,"gamestat_2pt_percentage":0,"gamestat_3pt_percentage":0,"gamestat_rebound_percentage":null,"gamestat_field_goal_percentage":null,"gamestat_player_efficiency":0,"gamestat_shooting_percentage":null,"created_by":null,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-08-13T13:30:31.000000Z","updated_at":"2024-08-13T13:30:31.000000Z","profile_first_name":"test","profile_last_name":null,"profile_avatar":null,"profile_number":null},{"gamestat_id":18,"user_id":1636,"org_id":264,"sport_id":5,"team_id":128,"event_id":3527,"game_id":null,"competition_id":null,"gamestat_total_points":0,"gamestat_assist_turnover_ratio":null,"gamestat_performance_index_rating":0,"gamestat_ft_percent":0,"gamestat_2pt_percentage":0,"gamestat_3pt_percentage":0,"gamestat_rebound_percentage":null,"gamestat_field_goal_percentage":null,"gamestat_player_efficiency":0,"gamestat_shooting_percentage":null,"created_by":null,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-08-13T13:30:31.000000Z","updated_at":"2024-08-13T13:30:31.000000Z","profile_first_name":"Timi","profile_last_name":"Swalitwa","profile_avatar":"https://files.teamsportz.app/avatars/1636_1674297210.png","profile_number":24},{"gamestat_id":22,"user_id":263203,"org_id":264,"sport_id":5,"team_id":128,"event_id":3527,"game_id":null,"competition_id":null,"gamestat_total_points":0,"gamestat_assist_turnover_ratio":null,"gamestat_performance_index_rating":0,"gamestat_ft_percent":0,"gamestat_2pt_percentage":0,"gamestat_3pt_percentage":0,"gamestat_rebound_percentage":null,"gamestat_field_goal_percentage":null,"gamestat_player_efficiency":0,"gamestat_shooting_percentage":null,"created_by":null,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-08-13T13:30:31.000000Z","updated_at":"2024-08-13T13:30:31.000000Z","profile_first_name":"Xavier","profile_last_name":"Arries","profile_avatar":null,"profile_number":null}],"first_page_url":"https://api-test.teamsportz.pro/v1/gamestats/event/3527?page=1","from":1,"last_page":1,"last_page_url":"https://api-test.teamsportz.pro/v1/gamestats/event/3527?page=1","links":[{"url":null,"label":"pagination.previous","active":false},{"url":"https://api-test.teamsportz.pro/v1/gamestats/event/3527?page=1","label":"1","active":true},{"url":null,"label":"pagination.next","active":false}],"next_page_url":null,"path":"https://api-test.teamsportz.pro/v1/gamestats/event/3527","per_page":"50","prev_page_url":null,"to":8,"total":8},"basketballOpponentGameStats":{"current_page":1,"data":[],"first_page_url":"https://api-test.teamsportz.pro/v1/gamestats/event/3527?page=1","from":null,"last_page":1,"last_page_url":"https://api-test.teamsportz.pro/v1/gamestats/event/3527?page=1","links":[{"url":null,"label":"pagination.previous","active":false},{"url":"https://api-test.teamsportz.pro/v1/gamestats/event/3527?page=1","label":"1","active":true},{"url":null,"label":"pagination.next","active":false}],"next_page_url":null,"path":"https://api-test.teamsportz.pro/v1/gamestats/event/3527","per_page":"50","prev_page_url":null,"to":null,"total":0}}}