Cultural Center of Netherlands
other · Amsterdam · ★ 3.9 (2102)
Overview
places / #121
other · Amsterdam · ★ 3.9 (2102)
Request
curl example
curl -sS \ "https://example-data.com/api/v1/places/121" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/places/121" ); const place = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/places.d.ts https://example-data.com/types/places.d.ts
import type { Place } from "./types/places";
const res = await fetch(
"https://example-data.com/api/v1/places/121"
);
const place = (await res.json()) as Place; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/places/121"
)
place = res.json() Response
{
"id": 121,
"name": "Cultural Center of Netherlands",
"slug": "cultural-center-of-netherlands-121",
"kind": "other",
"city": "Amsterdam",
"countryAlpha2": "NL",
"latitude": 33.091744,
"longitude": -49.766433,
"rating": 3.9,
"ratingCount": 2102,
"description": "Utique contego nostrum corpus. Vulgivagus officia degusto spectaculum usitas theca coniuratio utor universe omnis. Dolores conduco via eligendi terebro canto.",
"imageUrl": "https://picsum.photos/seed/place-121/1200/800",
"createdAt": "2021-11-18T13:30:50.574Z"
}