:param params: dict
        :return: requests.models.Response

def _query_api(self, params, direct=False):
        """
        :param params: dict
        :return: requests.models.Response
        """
        if not direct:
            return get(
                self.URI_BASE + self.RESOURCE_NAME, params=params, headers=self._headers
            )

        id = params.pop("id")
        return get(
            self.URI_BASE + self.RESOURCE_NAME + "/{0}".format(id),
            params=params,
            headers=self._headers,
        )