example-data.com
Menu
Browse docs and collections

Overview

hotels / #63

Caring Palace Skokie

hotel · Skokie · $524.86+/night · ★ 2.5 (4466)

245 McClure Ridges

gympet-friendlyairport-shuttleconciergeparkinglaundrybarspa

Component variants

Related

Referenced by

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/hotels/63" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/hotels/63"
);
const hotel = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/hotels.d.ts https://example-data.com/types/hotels.d.ts
import type { Hotel } from "./types/hotels";

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

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/hotels/63"
)
hotel = res.json()

Response

{
  "id": 63,
  "name": "Caring Palace Skokie",
  "slug": "caring-palace-skokie-63",
  "brand": null,
  "countryAlpha2": "NZ",
  "city": "Skokie",
  "address": "245 McClure Ridges",
  "latitude": -12.196441,
  "longitude": 56.324057,
  "starRating": 5,
  "rating": 2.5,
  "ratingCount": 4466,
  "priceFromPerNight": 524.86,
  "currency": "AUD",
  "amenities": [
    "gym",
    "pet-friendly",
    "airport-shuttle",
    "concierge",
    "parking",
    "laundry",
    "bar",
    "spa"
  ],
  "createdAt": "2025-03-06T00:59:03.684Z"
}