example-data.com

hotels / #18

Gaseous Palace Rozellaville

hotel · Rozellaville · $337.85+/night · ★ 4.3 (179)

2714 Rod Park

business-centercasino

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/hotels/18"
)
hotel = res.json()
{
  "id": 18,
  "name": "Gaseous Palace Rozellaville",
  "slug": "gaseous-palace-rozellaville-18",
  "brand": "Marriott",
  "countryAlpha2": "CA",
  "city": "Rozellaville",
  "address": "2714 Rod Park",
  "latitude": -49.73689,
  "longitude": 78.286588,
  "starRating": 2,
  "rating": 4.3,
  "ratingCount": 179,
  "priceFromPerNight": 337.85,
  "currency": "JPY",
  "amenities": [
    "business-center",
    "casino"
  ],
  "createdAt": "2024-09-29T13:20:31.164Z"
}
Draftbit