def get_ttl(seconds=None, minutes=None, hours=None, days=None, weeks=None):
    """
    Get ttl in seconds calculated from the arguments.

    Arguments:
        seconds (int | None): Number of seconds to include in the ttl.
        minutes (int | None): Number of minutes to include in the ttl.
        hours (int | None): Number of hours to include in the ttl.
        days (int | None): Number of days to include in the ttl.
        weeks (int | None): Number of weeks to include in the ttl.

    Raises:
        (ValueError): Raised if no argument is passed

    Returns:
        (int): TTL in seconds.
    """
    if all(item is None for item in [seconds, minutes, hours, days, weeks]):
        raise ValueError('At-least one argument must be provided.')

    seconds = seconds or 0
    minutes = minutes or 0
    hours = hours or 0
    days = hours or 0
    weeks = hours or 0

    return (
        seconds + minutes * 60 + hours * 3600 + days * 24 * 3600 + weeks * 7 * 24 * 24
    )