{"__v":2,"_id":"564b862bcc472d0d00da9463","category":{"__v":11,"_id":"564b797bcc472d0d00da9435","pages":["564b85b7cc472d0d00da945d","564b85cc4f06ef2b006b08b6","564b85dcdda79a19000f2673","564b85e8cc472d0d00da945f","564b85f9dda79a19000f2675","564b8608e6c67c2f0038366c","564b861bcc472d0d00da9461","564b862bcc472d0d00da9463","56e06a635fc52e320024d8ea","56e06a6d40ba87220064161a","56e06a755fc52e320024d8ec"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-11-17T19:01:15.286Z","from_sync":false,"order":5,"slug":"team-api","title":"Team API"},"editedParams":true,"editedParams2":true,"parentDoc":null,"project":"55773a5ba042551900b002cb","user":"546d17e2eb9cfd1400dd4529","version":{"__v":17,"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","createdAt":"2015-06-09T19:11:23.764Z","releaseDate":"2015-06-09T19:11:23.764Z","categories":["55773a5ca042551900b002cf","55773a6ce6063e0d00481380","55773ab007e7110d001043ec","55773abaa042551900b002d5","55773ac207e7110d001043ed","55773acb07e7110d001043ee","55773ad3a042551900b002d6","55773adce6063e0d00481383","55773ae4a042551900b002d7","55773af307e7110d001043ef","55773af907e7110d001043f0","55773b0407e7110d001043f1","563a4f7ad25e8919005f3f39","563a4fcaa19edf0d00972321","564a70dc4cd0521700523edf","564b797bcc472d0d00da9435","564b855b766d4923004e1fd1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T19:55:23.761Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"get","results":{"codes":[{"name":"","code":"{\n   \"code\":200,\n   \"status\":\"success\",\n   \"data\":{\n      \"race_starts\":43,\n      \"race_finishes\":42,\n      \"finish_percentage\":98,\n      \"race_wins\":13,\n      \"race_podiums\":28,\n      \"race_podium_percentage\":65\n   }\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"57055ae5794c940e00a9f292","ref":"","in":"path","required":true,"desc":"The unique id of the team","default":"","type":"int","name":"team_id"},{"_id":"57055ae5794c940e00a9f291","ref":"","in":"query","required":false,"desc":"A pipe delimited list of event categories","default":"","type":"string","name":"category_id"},{"_id":"57055ae5794c940e00a9f290","ref":"","in":"query","required":false,"desc":"A pipe delimited list of event specifications","default":"","type":"string","name":"specification_id"},{"_id":"57055ae5794c940e00a9f28f","ref":"","in":"query","required":false,"desc":"A pipe delimited list of event ids","default":"","type":"string","name":"event_id"}],"url":"/teams/:team_id/stats"},"isReference":true,"order":10,"body":"The **Team Statistics** method retrieves quick pre-compiled individual statistics for a team.\n\nBy default all team results in the Triathlon.org database are used (including multisport data). To restrict the analysed event specifications you may provide a pipe delimited list of event category or event specifications.","excerpt":"","slug":"team-statistics","type":"endpoint","title":"Team Statistics"}

getTeam Statistics


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

team_id:
required
integer
The unique id of the team

Query Params

category_id:
string
A pipe delimited list of event categories
specification_id:
string
A pipe delimited list of event specifications
event_id:
string
A pipe delimited list of event ids

Result Format


Documentation

The **Team Statistics** method retrieves quick pre-compiled individual statistics for a team. By default all team results in the Triathlon.org database are used (including multisport data). To restrict the analysed event specifications you may provide a pipe delimited list of event category or event specifications.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}