+@step(u'looking up place ([NRW]?\d+)')
+def api_setup_details_reverse(step, obj):
+ if obj[0] in ('N', 'R', 'W'):
+ # an osm id
+ world.params['osm_type'] = obj[0]
+ world.params['osm_id'] = obj[1:]
+ else:
+ world.params['place_id'] = obj
+ api_call('reverse')
+