def get_url_for_title(text, apikey):
    """
    This function writes a url(a string) for Harvard Art Museums API to get a dataset with all artwork titles that include a word chosen.
    
    Parameters
    ----------
    text: str
        A string that you wish to find in the titles of artwork
    apikey: str
        A string of your apikey, given by Harvard Art Museums;
        https://harvardartmuseums.org/collections/api
    
    Returns
    -------
    str
        A url to put into the get_title_classification() function, which will give you the dataset.
    
    Examples
    --------
    >>> from harvardartmuseums_pkg import harvardartmuseums_pkg
    >>> text = "cat"
    >>> apikey = "yourapikey"
    >>> harvardartmuseums_pkg.get_url_for_title(text, apikey)
    'https://api.harvardartmuseums.org/object?title=cat&apikey=yourapikey'
    """
    your_url = "https://api.harvardartmuseums.org/object?title=" + str(text) + "&apikey=" + str(apikey)
    return your_url