import requests


def tmdb_find_movie(movie: str, tmdb_api_token: str):
    """
    Search the tmdb api for movies by title

    Args:
        movie (str): the title of a movie
        tmdb_api_token (str): your tmdb v3 api token

    Returns:
        dict
    """
    url = 'https://api.themoviedb.org/3/search/movie?'
    params = {'query': movie, 'language': 'en-US', 'api_key': tmdb_api_token, }
    return requests.get(url, params).json()