code: def _create_api_call(self, method, _url, kwargs):
          
          api_call = self.ApiCall(name='%s.%s' % (_url, method),
                                  label='ID_%s' % self._count,
                                  base_uri=self.base_uri,
                                  timeout=self.timeout,
                                  headers=self.headers,
                                  cookies=self.cookies,
                                  proxies=self.proxies,
                                  accepted_return=self.accepted_return or 'json')
          if self.max_history:
              self._count += 1  # count of _calls
              if len(self) > self.max_history:
                  self._calls.pop(0)
              self._calls['ID_%s' % self._count] = api_call
          return api_call
docs: This will create an APICall object and return it
          :param method:  str of the html method ['GET','POST','PUT','DELETE']
          :param _url:    str of the sub url of the api call (ex. g/device/list)
          :param kwargs:  dict of additional arguments
          :return:        ApiCall