DAWA-kompatibel

DAWA vejnavne type-ahead

The body is DAWA’s own representation: a bare object (single lookups) or a bare array (lists, type-aheads), shaped by struktur (nestet | mini | flad) and format (json | geojson | csv); callback wraps JSON as JSONP.

get/dawa/vejnavne/autocomplete

Request

  • Base URL: https://api.grundfast.dk
  • URL: https://api.grundfast.dk/dawa/vejnavne/autocomplete
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter token

Query parameters

qstring

Search text.

per_sideinteger

Number of suggestions (default 20, at most 100).

kommunekodestring

Kommunekode.

format'json' | 'geojson' | 'geojsonz' | 'csv'

json (default), geojson, geojsonz or csv.

struktur'nestet' | 'mini' | 'flad'

nestet (default for json), mini or flad.

srid'4326' | '25832'

Output (and cirkel/polygon input) reference system: 4326 (default) or 25832.

callbackstring

JSONP callback name.

noformatstring

Compact JSON instead of DAWA’s pretty-printing.

Response

OK. The body is DAWA’s own representation: a bare object (single lookups) or a bare array (lists, type-aheads), shaped by struktur (nestet | mini | flad) and format (json | geojson | csv); callback wraps JSON as JSONP.

object[] required

Changes

No recorded changes to this operation across all 1 revision of this API.