GET Stints by Fixture ID and Stint Number
This endpoint returns all stints for the given fixture ID and stint number. Tip: Use the details include to reveal detailed information about each stint.
https://api.sportmonks.com/v3/motorsport/fixtures/FIXTURE_ID/stints/STINT_NUMBER{
"data": [
{
"id": 141,
"fixture_id": 19402069,
"stint_number": 1,
"driver_number": 5,
"participant_id": 37920819,
"is_latest": false
},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/fixtures/19408487/stints/2?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/fixtures/19408487/stints/2?api_token={your_token}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))Last updated
Was this helpful?