example-data.com
Menu
Browse docs and collections

Overview

hotels / #105

Purple Lodge Lake Rosella

hotel · Lake Rosella · $190.3+/night · ★ 2.3 (2268)

8043 Larch Close

beach-accessparkingwifibarcasinogymspa

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 105,
  "name": "Purple Lodge Lake Rosella",
  "slug": "purple-lodge-lake-rosella-105",
  "brand": "Accor",
  "countryAlpha2": "US",
  "city": "Lake Rosella",
  "address": "8043 Larch Close",
  "latitude": -3.527416,
  "longitude": 89.966518,
  "starRating": 3,
  "rating": 2.3,
  "ratingCount": 2268,
  "priceFromPerNight": 190.3,
  "currency": "THB",
  "amenities": [
    "beach-access",
    "parking",
    "wifi",
    "bar",
    "casino",
    "gym",
    "spa"
  ],
  "createdAt": "2025-07-29T11:44:38.879Z"
}