GET All Team Standings
This endpoint returns all the team standings available in our Motorsport API.
https://api.sportmonks.com/v3/motorsport/standings/teams{
"data": [
{
"id": 253788,
"participant_id": 276191,
"sport_id": 2,
"league_id": 3468,
"season_id": 25273,
"stage_id": 77476104,
"group_id": null,
"round_id": null,
"standing_rule_id": null,
"position": 1,
"result": null,
"points": 460
},
{
"id": 253789,
"participant_id": 276198,
"sport_id": 2,
"league_id": 3468,
"season_id": 25273,
"stage_id": 77476104,
"group_id": null,
"round_id": null,
"standing_rule_id": null,
"position": 3,
"result": null,
"points": 210
},Field
Description
Type
Query Parameters
Required?
Description
Pagination
Include depth
Include options
Code Example
require "uri"
require "net/http"
url = URI("https://api.sportmonks.com/v3/motorsport/standings/teams?api_token={your_token}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
response = https.request(request)
puts response.read_body
import http.client
conn = http.client.HTTPSConnection("api.sportmonks.com")
payload = ''
headers = {}
conn.request("GET", "/v3/motorsport/standings/teams?api_token={your_token}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))Last updated
Was this helpful?