example-data.com
Menu
Browse docs and collections

Overview

hotels / #36

Severe Inn Brownfield

hotel · Brownfield · $426.14+/night · ★ 2.1 (2141)

95402 Daisha Point

room-serviceparkingairport-shuttlebar

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 36,
  "name": "Severe Inn Brownfield",
  "slug": "severe-inn-brownfield-36",
  "brand": "Accor",
  "countryAlpha2": "CH",
  "city": "Brownfield",
  "address": "95402 Daisha Point",
  "latitude": -27.27321,
  "longitude": -76.733966,
  "starRating": 5,
  "rating": 2.1,
  "ratingCount": 2141,
  "priceFromPerNight": 426.14,
  "currency": "EUR",
  "amenities": [
    "room-service",
    "parking",
    "airport-shuttle",
    "bar"
  ],
  "createdAt": "2025-06-03T22:45:47.081Z"
}