example-data.com
Menu
Browse docs and collections

Overview

places / #133

Central Park of Norway

Central Park of Norway

park · Oslo · ★ 4.5 (4449)

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/places/133"
);
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/133"
);
const place = (await res.json()) as Place;

Python example

import requests

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

Response

{
  "id": 133,
  "name": "Central Park of Norway",
  "slug": "central-park-of-norway-133",
  "kind": "park",
  "city": "Oslo",
  "countryAlpha2": "NO",
  "latitude": -51.532654,
  "longitude": 10.223901,
  "rating": 4.5,
  "ratingCount": 4449,
  "description": "Alo ait aliqua sui verto curis spargo. Eligendi undique bene aggero votum cedo astrum aureus. Solitudo vomer anser cognatus distinctio cunabula vesica.",
  "imageUrl": "https://picsum.photos/seed/place-133/1200/800",
  "createdAt": "2025-09-19T20:37:05.769Z"
}