Returns a Range based on the endpoint name

def _get_range(self, endpoint_name):
        """ Returns a Range based on the endpoint name """

        url = self.build_url(self._endpoints.get(endpoint_name))
        response = self.session.get(url)
        if not response:
            return None
        data = response.json()
        return self.range_constructor(parent=self, **{self._cloud_data_key: data})