code: def get_data(latitude=52.091579, longitude=5.119734, usexml=False):
      
      if usexml:
          log.info("Getting buienradar XML data for latitude=%s, longitude=%s",
                   latitude, longitude)
          return get_xml_data(latitude, longitude)
      else:
          log.info("Getting buienradar JSON data for latitude=%s, longitude=%s",
                   latitude, longitude)
          return get_json_data(latitude, longitude)
docs: Get buienradar xml data and return results.