def kwargs_to_query_string(**kwargs) -> str:
    """
    Converts keyword arguments to query string for URL

    Returns:
        str: Generated query string
    """
    query_string = "?" + "&".join([f"{key}={value}" for key, value in kwargs.items()])
    return query_string.replace(" ", "+")