Lesch - Stehr
american · New Winona · $ · ★ 4.3 (2305)
585 W 2nd Street
- Phone
- +1 202-555-0127 ext 1
Overview
restaurants / #28
american · New Winona · $ · ★ 4.3 (2305)
585 W 2nd Street
Request
curl example
curl -sS \ "https://example-data.com/api/v1/restaurants/28" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/restaurants/28" ); 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/28"
);
const restaurant = (await res.json()) as Restaurant; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/restaurants/28"
)
restaurant = res.json() Response
{
"id": 28,
"name": "Lesch - Stehr",
"slug": "lesch-stehr-28",
"cuisine": "american",
"priceRange": "$",
"rating": 4.3,
"ratingCount": 2305,
"countryAlpha2": "NO",
"city": "New Winona",
"neighborhood": "Montgomery County",
"address": "585 W 2nd Street",
"phone": "+1 202-555-0127 ext 1",
"website": "https://lesch-stehr-28.example.com",
"hasDelivery": false,
"isOpen": true,
"latitude": -2.95795,
"longitude": 173.12856,
"createdAt": "2025-12-05T11:02:19.130Z",
"updatedAt": "2025-12-05T11:02:19.130Z"
}