Performs the API request. Most methods are a wrapper around this one.

def make_request(self, resource, params=None):
        """
        Performs the API request. Most methods are a wrapper around this one.
        """
        if params is None:
            params = {}

        url = self.request_url(resource)
        params['format'] = 'json'

        r = self.session.get(url=url, params=params)

        r.raise_for_status()

        return r