Fetch kerb segments and car parks
fetch_kerb_segmentsRetrieves on-street parking bays, lines, and car parks for a given area or entity IDs, with optional operating hours. Use for static kerbside layouts; prices require a separate lookup.
Instructions
The static parking map for an area (point with square viewport or bounding box, at most 1.5 km2) or for given entity ids: on-street segments (bays and yellow/red lines, with their bay types and capacity) and car parks, with name, address, a WGS84 point where AppyWay gives one, zone and authority. Optionally adds each entity's operating hours for one date. No prices: use find_parking_rules_near for those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the centre point | |
| lng | No | Longitude of the centre point | |
| bbox | No | Bounding box in WGS84 degrees; sent to AppyWay as a closed GeoJSON polygon | |
| entity_ids | No | Fetch these entities instead of searching an area | |
| max_results | No | ||
| distance_from | No | Point to measure distances and order results from (area search only) | |
| viewport_size_m | No | Side of the square around lat/lng, in metres (AppyWay limit: 1.5 km2) | |
| exclude_car_parks | No | Leave out car parks (area search only) | |
| exclude_on_street | No | Leave out on-street entities (area search only) | |
| operating_hours_date | No | Also fetch each entity's operating hours for this local date (YYYY-MM-DD) | |
| include_contact_details | No | Return telephone numbers of payment providers, car park operators and notes, and stop redacting email addresses and phone numbers from names, notes, tags, addresses and location codes | |
| on_street_parking_types | No | Only on-street entities of these types (area search only), e.g. LoadingBay, DisabledBay, SingleYellowLine |