example-data.com

places / #59

Golden Sands of Thailand

Golden Sands of Thailand

beach · Bangkok · ★ 3.3 (2328)

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/places/59"
)
place = res.json()
{
  "id": 59,
  "name": "Golden Sands of Thailand",
  "slug": "golden-sands-of-thailand-59",
  "kind": "beach",
  "city": "Bangkok",
  "countryAlpha2": "TH",
  "latitude": 14.193669,
  "longitude": 160.173371,
  "rating": 3.3,
  "ratingCount": 2328,
  "description": "Totidem tripudio reprehenderit defaeco supplanto vilicus cultellus annus vilicus. Tenuis civitas vestigium admitto articulus. Tum pel astrum tricesimus desidero.",
  "imageUrl": "https://picsum.photos/seed/place-59/1200/800",
  "createdAt": "2024-01-25T14:07:39.772Z"
}
Draftbit