May
19
Wed
Classic Turner Concert
2:46 PM
Lake Austyn Stadium
From JPY 665.35
Overview
tickets / #288
2:46 PM
Lake Austyn Stadium
From JPY 665.35
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/288" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/288" ); const ticket = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/tickets.d.ts https://example-data.com/types/tickets.d.ts
import type { Ticket } from "./types/tickets";
const res = await fetch(
"https://example-data.com/api/v1/tickets/288"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/288"
)
ticket = res.json() Response
{
"id": 288,
"eventName": "Classic Turner Concert",
"venue": "Lake Austyn Stadium",
"eventAt": "2027-05-19T14:46:01.347Z",
"type": "balcony",
"price": 665.35,
"currency": "JPY",
"sectionCode": "VIP",
"seatCode": "M7",
"isSold": false,
"createdAt": "2027-04-28T14:46:01.347Z"
}