example-data.com

places / #66

Community Garden of Singapore

Community Garden of Singapore

other · Singapore · ★ 4.0 (1550)

Component variants

curl -sS \
  "https://example-data.com/api/v1/places/66" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/places/66"
);
const place = await res.json();
import type { Place } from "https://example-data.com/types/places.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/places/66"
);
const place = (await res.json()) as Place;
import requests

res = requests.get(
    "https://example-data.com/api/v1/places/66"
)
place = res.json()
{
  "id": 66,
  "name": "Community Garden of Singapore",
  "slug": "community-garden-of-singapore-66",
  "kind": "other",
  "city": "Singapore",
  "countryAlpha2": "SG",
  "latitude": 20.958049,
  "longitude": -34.387348,
  "rating": 4,
  "ratingCount": 1550,
  "description": "At advenio vado. Abstergo contabesco urbanus vociferor. Unus accedo adfero demitto statua.",
  "imageUrl": "https://picsum.photos/seed/place-66/1200/800",
  "createdAt": "2021-10-22T08:19:28.385Z"
}
Draftbit