example-data.com
Menu
Browse docs and collections

Overview

hotels / #87

Odd Resort Port Ginaport

hotel · Port Ginaport · $1430.69+/night · ★ 3.0 (2681)

7146 Prohaska Ferry

barairport-shuttlebusiness-centerparkingpoolbeach-accesspet-friendlyroom-service

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 87,
  "name": "Odd Resort Port Ginaport",
  "slug": "odd-resort-port-ginaport-87",
  "brand": null,
  "countryAlpha2": "IE",
  "city": "Port Ginaport",
  "address": "7146 Prohaska Ferry",
  "latitude": 58.820534,
  "longitude": 137.445049,
  "starRating": 4,
  "rating": 3,
  "ratingCount": 2681,
  "priceFromPerNight": 1430.69,
  "currency": "JPY",
  "amenities": [
    "bar",
    "airport-shuttle",
    "business-center",
    "parking",
    "pool",
    "beach-access",
    "pet-friendly",
    "room-service"
  ],
  "createdAt": "2025-01-15T01:19:38.233Z"
}