Uneven Hotel Rancho Cucamonga
hotel · Rancho Cucamonga · $117.89+/night · ★ 2.2 (138)
1965 Franklin Avenue
airport-shuttlebusiness-centerpet-friendlywifipoolroom-service
Overview
hotels / #64
hotel · Rancho Cucamonga · $117.89+/night · ★ 2.2 (138)
1965 Franklin Avenue
Request
curl example
curl -sS \ "https://example-data.com/api/v1/hotels/64" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/hotels/64" ); 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/64"
);
const hotel = (await res.json()) as Hotel; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/hotels/64"
)
hotel = res.json() Response
{
"id": 64,
"name": "Uneven Hotel Rancho Cucamonga",
"slug": "uneven-hotel-rancho-cucamonga-64",
"brand": "Four Seasons",
"countryAlpha2": "ID",
"city": "Rancho Cucamonga",
"address": "1965 Franklin Avenue",
"latitude": -14.029888,
"longitude": -72.28025,
"starRating": 2,
"rating": 2.2,
"ratingCount": 138,
"priceFromPerNight": 117.89,
"currency": "CAD",
"amenities": [
"airport-shuttle",
"business-center",
"pet-friendly",
"wifi",
"pool",
"room-service"
],
"createdAt": "2024-07-11T04:06:22.377Z"
}