example-data.com
Menu
Browse docs and collections

Overview

hotels / #27

Late Hotel Fort Amandaborough

hotel · Fort Amandaborough · $508.7+/night · ★ 4.7 (3389)

9756 Center Avenue

pet-friendlyroom-servicebusiness-centercasinoparkinglaundry

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/hotels/27"
);
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/27"
);
const hotel = (await res.json()) as Hotel;

Python example

import requests

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

Response

{
  "id": 27,
  "name": "Late Hotel Fort Amandaborough",
  "slug": "late-hotel-fort-amandaborough-27",
  "brand": "Marriott",
  "countryAlpha2": "CL",
  "city": "Fort Amandaborough",
  "address": "9756 Center Avenue",
  "latitude": 41.932075,
  "longitude": -106.520394,
  "starRating": 5,
  "rating": 4.7,
  "ratingCount": 3389,
  "priceFromPerNight": 508.7,
  "currency": "AUD",
  "amenities": [
    "pet-friendly",
    "room-service",
    "business-center",
    "casino",
    "parking",
    "laundry"
  ],
  "createdAt": "2025-03-17T11:54:18.422Z"
}