Added a config.json
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import requests
|
||||
from tmdbv3api import TMDb, Movie, TV
|
||||
from loadenv import load_env
|
||||
TMDB_KEY, _, _, _,_ = load_env()
|
||||
TMDB_KEY= load_env()
|
||||
def get_TMDb_id_from_IMDb_id(imdb_id):
|
||||
response = requests.get(f'https://api.themoviedb.org/3/find/{imdb_id}',
|
||||
params={'external_source': 'imdb_id', 'api_key': f'{TMDB_KEY}'})
|
||||
|
||||
Reference in New Issue
Block a user