Gets data from the given url

def get_data(self):
        """Gets data from the given url"""
        url = self.build_url()
        self.elevationdata = requests.get(url)
        if not self.elevationdata.status_code == 200:
            raise self.elevationdata.raise_for_status()