mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
new method /lookup.php - Reverse search by multiple osm ids
This commit is contained in:
@@ -123,6 +123,13 @@ def api_setup_details(step, obj):
|
||||
world.params['place_id'] = obj
|
||||
api_call('details')
|
||||
|
||||
@step(u'looking up (\w+) places ((?:[a-z]\d+,*)+)')
|
||||
def api_setup_lookup(step, fmt, ids):
|
||||
world.params['osm_ids'] = ids
|
||||
if fmt and fmt.strip():
|
||||
world.params['format'] = fmt.strip()
|
||||
api_call('lookup')
|
||||
|
||||
@step(u'sending an API call (\w+)')
|
||||
def api_general_call(step, call):
|
||||
api_call(call)
|
||||
|
||||
Reference in New Issue
Block a user