example-data.com
Menu
Browse docs and collections

Overview

places / #75

Espresso Lane of Saudi Arabia

Espresso Lane of Saudi Arabia

cafe · Riyadh · ★ 4.0 (2132)

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/places/75"
);
const place = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/places.d.ts https://example-data.com/types/places.d.ts
import type { Place } from "./types/places";

const res = await fetch(
  "https://example-data.com/api/v1/places/75"
);
const place = (await res.json()) as Place;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/places/75"
)
place = res.json()

Response

{
  "id": 75,
  "name": "Espresso Lane of Saudi Arabia",
  "slug": "espresso-lane-of-saudi-arabia-75",
  "kind": "cafe",
  "city": "Riyadh",
  "countryAlpha2": "SA",
  "latitude": -43.921575,
  "longitude": -134.330711,
  "rating": 4,
  "ratingCount": 2132,
  "description": "Commodi atque suscipio. Distinctio arcesso caute voluptas stillicidium tersus voveo vulgus. Sufficio chirographum spiculum nostrum apostolus occaecati dolores totam.",
  "imageUrl": "https://picsum.photos/seed/place-75/1200/800",
  "createdAt": "2025-10-11T19:00:46.904Z"
}