@classmethod
def get_cap(cls, endpoint):
    """
        Retrieve the query cap for the given endpoint.

        Args:
            endpoint (str): Endpoint

        Returns:
            int: Max queries per 15 minutes

        """
    limit = cls.get(endpoint)
    if not limit:
        return
    return limit.cap
