]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/clicmd/api.py
rename lookup() API to details and add lookup call
[nominatim.git] / nominatim / clicmd / api.py
index 41256b792690b76688628e46a253a5410fdcd27f..e198e541462335b1e719be37a566a4f7bd4232a7 100644 (file)
@@ -292,7 +292,7 @@ class APIDetails:
         if args.polygon_geojson:
             details.geometry_output = napi.GeometryFormat.GEOJSON
 
-        result = api.lookup(place, details)
+        result = api.details(place, details)
 
         if result:
             output = api_output.format_result(