code: def make_request(self, resource, params=None):
          
          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
docs: Performs the API request. Most methods are a wrapper around this one.