Hauck, Larson and West
chinese · Port Shayna · $$$ · ★ 4.4 (2362)
4924 Stanford Hollow
- Phone
- +1 202-555-0172 ext 1
Overview
restaurants / #73
chinese · Port Shayna · $$$ · ★ 4.4 (2362)
4924 Stanford Hollow
Request
curl example
curl -sS \ "https://example-data.com/api/v1/restaurants/73" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/restaurants/73" ); const restaurant = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/restaurants.d.ts https://example-data.com/types/restaurants.d.ts
import type { Restaurant } from "./types/restaurants";
const res = await fetch(
"https://example-data.com/api/v1/restaurants/73"
);
const restaurant = (await res.json()) as Restaurant; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/restaurants/73"
)
restaurant = res.json() Response
{
"id": 73,
"name": "Hauck, Larson and West",
"slug": "hauck-larson-and-west-73",
"cuisine": "chinese",
"priceRange": "$$$",
"rating": 4.4,
"ratingCount": 2362,
"countryAlpha2": "VN",
"city": "Port Shayna",
"neighborhood": "Cornwall",
"address": "4924 Stanford Hollow",
"phone": "+1 202-555-0172 ext 1",
"website": null,
"hasDelivery": true,
"isOpen": false,
"latitude": 34.790708,
"longitude": -179.537102,
"createdAt": "2024-11-04T08:23:16.156Z",
"updatedAt": "2024-11-04T08:23:16.156Z"
}