example-data.com

hotels / #108

Circular Palace East Kennedifort

hotel · East Kennedifort · $1226.29+/night · ★ 3.5 (4585)

125 Trenton Points

beach-accessgymbusiness-center

Component variants

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

const res = await fetch(
  "https://example-data.com/api/v1/hotels/108"
);
const hotel = (await res.json()) as Hotel;
import requests

res = requests.get(
    "https://example-data.com/api/v1/hotels/108"
)
hotel = res.json()
{
  "id": 108,
  "name": "Circular Palace East Kennedifort",
  "slug": "circular-palace-east-kennedifort-108",
  "brand": "Hilton",
  "countryAlpha2": "KE",
  "city": "East Kennedifort",
  "address": "125 Trenton Points",
  "latitude": -46.390382,
  "longitude": -85.060425,
  "starRating": 3,
  "rating": 3.5,
  "ratingCount": 4585,
  "priceFromPerNight": 1226.29,
  "currency": "SGD",
  "amenities": [
    "beach-access",
    "gym",
    "business-center"
  ],
  "createdAt": "2024-07-13T21:19:53.740Z"
}
Draftbit