example-data.com
Menu
Browse docs and collections

Overview

hotels / #34

Meager Resort Lockmanfield

hotel · Lockmanfield · $1951.93+/night · ★ 4.1 (4600)

81583 W 6th Avenue

restaurantbarairport-shuttle

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 34,
  "name": "Meager Resort Lockmanfield",
  "slug": "meager-resort-lockmanfield-34",
  "brand": null,
  "countryAlpha2": "FI",
  "city": "Lockmanfield",
  "address": "81583 W 6th Avenue",
  "latitude": -51.465418,
  "longitude": 162.613337,
  "starRating": 2,
  "rating": 4.1,
  "ratingCount": 4600,
  "priceFromPerNight": 1951.93,
  "currency": "AUD",
  "amenities": [
    "restaurant",
    "bar",
    "airport-shuttle"
  ],
  "createdAt": "2025-11-14T02:12:37.165Z"
}