How can I get a sub-participant stats?

Question: How can I get a sub-participant stats from the event?

Step-by-step guide:

To get a sub-participants stats from specific event you need to use event id.

To get a sub-participants stats from specific event you need to use event id.

https://api.statscore.com/v2/events/5630842/sub-participants?token=your_token

In the response you will get the list of all athletes that played in this event.
The details includes:

1. Player info:


Zrzut ekranu 2024-12-09 082347.png


2. Team and position:


Zrzut ekranu 2024-12-09 082417.png

 

3. Stats:

(There are too many stats to include them all in the picture, that is why we show here only few)



Feed Example:

 

"id": 1018101, "ls_id": null, "type": "person", "name": "Donovan Vernell Mitchell Jr.", "short_name": "Donovan Mitchell", "acronym": "MIT", "gender": "male", "area_id": 191, "area_name": "USA", "area_code": "USA", "sport_id": 1, "sport_name": "Basketball", "national": "no", "website": "", "ut": 1634732413, "old_participant_id": "", "slug": "mitchell-donovan,1018101", "logo": "no", "virtual": "no", "shirt_nr": "45", "details": { "founded": "", "phone": "", "email": "", "address": "", "venue_id": "", "venue_name": "", "weight": 98, "height": 185, "nickname": "", "position_name": "Shooting guard", "position_id": "6", "birthdate": "1996-09-07", "born_place": "Elmsford", "is_retired": "no", "subtype": "athlete" }, "team_id": "1198", "lineup_id": 1154545, "position": "starting lineup", "position_type": "starting lineup", "position_reason_code": null, "position_reason": null, "position_reason_id": null, "status_id": null, "stats": [ { "id": 75, "name": "Points", "short_name": "Points", "value": 12, "data_type": "integer" }, { "id": 56, "name": "3pt scored", "short_name": "3pt scored", "value": 1, "data_type": "integer" }, { "id": 64, "name": "Rebounds total", "short_name": "Rebounds total", "value": 1, "data_type": "integer" }, { "id": 41, "name": "Assists", "short_name": "Assists", "value": 5, "data_type": "integer" }, { "id": 70, "name": "Steals", "short_name": "Steals", "value": 2, "data_type": "integer" }, { "id": 71, "name": "Blocks", "short_name": "Blocks", "value": null, "data_type": "integer" }, { "id": 72, "name": "Turnovers", "short_name": "Turnovers", "value": 3, "data_type": "integer" }, { "id": 22, "name": "Fouls", "short_name": "Fouls", "value": 1, "data_type": "integer" }, { "id": 35, "name": "Appearance", "short_name": "Appearance", "value": 1, "data_type": "binary" }, { "id": 837, "name": "Minutes in play", "short_name": "MiP", "value": null, "data_type": "text" }, { "id": 838, "name": "Starting lineup", "short_name": "SL", "value": 1, "data_type": "binary" }, { "id": 83, "name": "Plus-minus", "short_name": "Plus-minus", "value": null, "data_type": "integer" }, { "id": 54, "name": "FG scored", "short_name": "FG scored", "value": 5, "data_type": "integer" }, { "id": 55, "name": "FG attempts", "short_name": "FG attempts", "value": 16, "data_type": "integer" }, { "id": 57, "name": "3pt attempts", "short_name": "3pt attempts", "value": 5, "data_type": "integer" }, { "id": 58, "name": "2pt scored", "short_name": "2pt scored", "value": 4, "data_type": "integer" }, { "id": 59, "name": "2pt attempts", "short_name": "2pt attempts", "value": 11, "data_type": "integer" }, { "id": 60, "name": "FT scored", "short_name": "FT scored", "value": 1, "data_type": "integer" }, { "id": 61, "name": "FT attempts", "short_name": "FT attempts", "value": 1, "data_type": "integer" }, { "id": 62, "name": "Rebounds offensive", "short_name": "Rebounds offensive", "value": null, "data_type": "integer" }, { "id": 63, "name": "Rebounds defensive", "short_name": "Rebounds defensive", "value": 1, "data_type": "integer" }, { "id": 1239, "name": "Will not play", "short_name": "Will not play", "value": 0, "data_type": "binary" }, { "id": 1240, "name": "Substitute", "short_name": "Substitute", "value": 0, "data_type": "binary" }, { "id": 100, "name": "FG percent", "short_name": "FG percent", "value": "31.3", "data_type": "decimal" }, { "id": 102, "name": "3pt percent", "short_name": "3pt percent", "value": "20.0", "data_type": "decimal" }, { "id": 101, "name": "2pt percent", "short_name": "2pt percent", "value": "36.4", "data_type": "decimal" }, { "id": 103, "name": "FT percent", "short_name": "FT percent", "value": "100.0", "data_type": "decimal" }, { "id": 1353, "name": "Field goal missed", "short_name": "FG missed", "value": 11, "data_type": "integer" }, { "id": 1314, "name": "2 points missed", "short_name": "2pt missed", "value": 6, "data_type": "integer" }, { "id": 1315, "name": "3 points missed", "short_name": "3pt missed", "value": 5, "data_type": "integer" }, { "id": 1316, "name": "Free throw missed", "short_name": "FT missed", "value": null, "data_type": "integer" }, { "id": 1317, "name": "Field goal jump shot made", "short_name": "FG jump shot made", "value": 4, "data_type": "integer" }, { "id": 1318, "name": "Field goal layup made", "short_name": "FG layup made", "value": 1, "data_type": "integer" }, { "id": 1319, "name": "Field goal dunk made", "short_name": "FG dunk made", "value": null, "data_type": "integer" }, { "id": 1320, "name": "Field goal hook made", "short_name": "FG hook made", "value": null, "data_type": "integer" }, { "id": 1321, "name": "Field goal jump shot missed", "short_name": "FG jump shot missed", "value": 7, "data_type": "integer" }, { "id": 1322, "name": "Field goal layup missed", "short_name": "FG layup missed", "value": 4, "data_type": "integer" }, { "id": 1323, "name": "Field goal dunk missed", "short_name": "FG dunk missed", "value": null, "data_type": "integer" }, { "id": 1324, "name": "Field goal hook missed", "short_name": "FG hook missed", "value": null, "data_type": "integer" }, { "id": 1325, "name": "Field goal jump shot attempts", "short_name": "FG jump shot attempts", "value": 11, "data_type": "integer" }, { "id": 1326, "name": "Field goal layup attempts", "short_name": "FG layup attempts", "value": 5, "data_type": "integer" }, { "id": 1327, "name": "Field goal dunk attempts", "short_name": "FG dunk attempts", "value": null, "data_type": "integer" }, { "id": 1328, "name": "Field goal hook attempts", "short_name": "FG hook attempts", "value": null, "data_type": "integer" }, { "id": 1329, "name": "Field goal jump shot percentage", "short_name": "FG jump shot percentage", "value": "36.36", "data_type": "decimal" }, { "id": 1330, "name": "Field goal layup percentage", "short_name": "FG layup percentage", "value": "20.00", "data_type": "decimal" }, { "id": 1331, "name": "Field goal dunk percentage", "short_name": "FG dunk percentage", "value": null, "data_type": "decimal" }, { "id": 1332, "name": "Field goal hook percentage", "short_name": "FG hook percentage", "value": null, "data_type": "decimal" }, { "id": 1333, "name": "2 points jump shot made", "short_name": "2pt jump shot made", "value": 3, "data_type": "integer" }, { "id": 1334, "name": "2 points layup made", "short_name": "2pt layup made", "value": 1, "data_type": "integer" }, { "id": 1335, "name": "2 points dunk made", "short_name": "2pt dunk made", "value": null, "data_type": "integer" }, { "id": 1336, "name": "2 points hook made", "short_name": "2pt hook made", "value": null, "data_type": "integer" }, { "id": 1337, "name": "2 points jump shot missed", "short_name": "2pt jump shot missed", "value": 2, "data_type": "integer" }, { "id": 1338, "name": "2 points layup missed", "short_name": "2pt layup missed", "value": 4, "data_type": "integer" }, { "id": 1339, "name": "2 points dunk missed", "short_name": "2pt dunk missed", "value": null, "data_type": "integer" }, { "id": 1340, "name": "2 points hook missed", "short_name": "2pt hook missed", "value": null, "data_type": "integer" }, { "id": 1341, "name": "2 points jump shot attempts", "short_name": "2pt jump shot attempts", "value": 5, "data_type": "integer" }, { "id": 1342, "name": "2 points layup attempts", "short_name": "2pt layup attempts", "value": 5, "data_type": "integer" }, { "id": 1343, "name": "2 points dunk attempts", "short_name": "2pt dunk attempts", "value": null, "data_type": "integer" }, { "id": 1344, "name": "2 points hook attempts", "short_name": "2pt hook attempts", "value": null, "data_type": "integer" }, { "id": 1345, "name": "2 points jump shot percentage", "short_name": "2pt jump shot percentage", "value": "60.00", "data_type": "decimal" }, { "id": 1346, "name": "2 points layup percentage", "short_name": "2pt layup percentage", "value": "20.00", "data_type": "decimal" }, { "id": 1347, "name": "2 points dunk percentage", "short_name": "2pt dunk percentage", "value": null, "data_type": "decimal" }, { "id": 1348, "name": "2 points hook percentage", "short_name": "2pt hook percentage", "value": null, "data_type": "decimal" }, { "id": 1349, "name": "3 points jump shot made", "short_name": "3pt jump shot made", "value": 1, "data_type": "integer" }, { "id": 1350, "name": "3 points jump shot missed", "short_name": "3pt jump shot missed", "value": 5, "data_type": "integer" }, { "id": 1351, "name": "3 points jump shot attempts", "short_name": "3pt jump shot attempts", "value": 6, "data_type": "integer" }, { "id": 1352, "name": "3 points jump shot percentage", "short_name": "3pt jump shot percentage", "value": "16.67", "data_type": "decimal" } ], "results": [] },