example-data.com

places / #88

Town Hall of Morocco

Town Hall of Morocco

other · Rabat · ★ 3.6 (77)

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/places/88"
)
place = res.json()
{
  "id": 88,
  "name": "Town Hall of Morocco",
  "slug": "town-hall-of-morocco-88",
  "kind": "other",
  "city": "Rabat",
  "countryAlpha2": "MA",
  "latitude": 55.968565,
  "longitude": 91.339673,
  "rating": 3.6,
  "ratingCount": 77,
  "description": "Crastinus alius absum. Tendo vos deleniti abutor facilis velit collum. Dolore vulariter absque spes vero ter.",
  "imageUrl": "https://picsum.photos/seed/place-88/1200/800",
  "createdAt": "2022-05-02T15:43:01.114Z"
}
Draftbit