Mar
31
Wed
Annual Casper-Bins Gala
9:58 PM
Josephineside Pavilion
From AUD 204.61
Overview
tickets / #269
9:58 PM
Josephineside Pavilion
From AUD 204.61
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/269" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/269" ); 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/269"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/269"
)
ticket = res.json() Response
{
"id": 269,
"eventName": "Annual Casper-Bins Gala",
"venue": "Josephineside Pavilion",
"eventAt": "2027-03-31T21:58:16.438Z",
"type": "standing",
"price": 204.61,
"currency": "AUD",
"sectionCode": "GA",
"seatCode": null,
"isSold": false,
"createdAt": "2027-01-12T21:58:16.438Z"
}