def create_query(keyword, start_date, end_date, max_results) -> dict:
    """
    Creates the params part in the GET request

    Parameters
    ----------
    keyword : str
        The key word/words that you want to be included in your search
    start_date : str
        The start of the time period that you would like twitter to search
        between.
        In the format "%Y-%m-%dT%H:%M:%S.%fZ" i.e. "2022-02-22T00:00:00.000Z"
    end_date : str
        See start date, but obviously the end of the time period
    max_results : int
        The maximum number of results that you would returned, I believe 10 is
        lowest and 100 is the highest number you cna choose

    Returns
    -------
    query : dict
        Creates the params part in the GET request
    """

    query = {
        "query": keyword,
        "start_time": start_date,
        "end_time": end_date,
        "max_results": max_results,
        "expansions": "author_id,geo.place_id,in_reply_to_user_id",
        "tweet.fields": "author_id,created_at,geo,id,in_reply_to_user_id,lang,public_metrics,referenced_tweets,reply_settings,source,text",
        "user.fields": "created_at,description,id,location,name,public_metrics,username,verified",
        "place.fields": "country,country_code,full_name,geo,id,name,place_type",
        "next_token": {},
    }
    return query