code: def parse_nodes_coords(osm_response):
      
  
      coords = {}
      for result in osm_response['elements']:
          if 'type' in result and result['type'] == 'node':
              coords[result['id']] = {'lat': result['lat'],
                                      'lon': result['lon']}
      return coords
docs: Parse node coordinates from OSM response. Some nodes are
      standalone points of interest, others are vertices in 
      polygonal (areal) POIs.
      
      Parameters
      ----------
      osm_response : string
          OSM response JSON string
      
      Returns
      -------
      coords : dict
          dict of node IDs and their lat, lon coordinates