2021-07-03 08:29:08 +01:00
|
|
|
import asyncio
|
2024-11-28 09:03:49 +00:00
|
|
|
|
|
|
|
from tmdb.tmdb_api import Movie
|
2021-07-03 08:29:08 +01:00
|
|
|
|
2021-09-22 08:54:27 +01:00
|
|
|
|
2021-07-03 08:29:08 +01:00
|
|
|
async def test():
|
|
|
|
movie = Movie()
|
|
|
|
await movie.load_parameters()
|
2024-11-28 09:03:49 +00:00
|
|
|
await movie.search_title("Breakfast Club")
|
2021-07-03 08:29:08 +01:00
|
|
|
await movie.close_session()
|
2021-09-22 08:54:27 +01:00
|
|
|
|
2024-11-28 09:03:49 +00:00
|
|
|
|
2021-07-03 08:29:08 +01:00
|
|
|
asyncio.run(test())
|