example-data.com

places / #137

Community Garden of Denmark

Community Garden of Denmark

other · Copenhagen · ★ 3.5 (2469)

Component variants

curl -sS \
  "https://example-data.com/api/v1/places/137" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/places/137"
);
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/137"
);
const place = (await res.json()) as Place;
import requests

res = requests.get(
    "https://example-data.com/api/v1/places/137"
)
place = res.json()
{
  "id": 137,
  "name": "Community Garden of Denmark",
  "slug": "community-garden-of-denmark-137",
  "kind": "other",
  "city": "Copenhagen",
  "countryAlpha2": "DK",
  "latitude": -20.771242,
  "longitude": 8.810186,
  "rating": 3.5,
  "ratingCount": 2469,
  "description": "Considero talio atrocitas maxime demergo tenetur. Depromo verbum trado possimus neque vomer sub. Abstergo alter carpo aestas deripio similique aperio numquam adhaero ara.",
  "imageUrl": "https://picsum.photos/seed/place-137/1200/800",
  "createdAt": "2022-08-18T06:09:41.113Z"
}
Draftbit