const FilmAPI = require('./imdb') const asyncApiCall = async () => { const response = await FilmAPI.getFilm('Avengers Endgame') // console.log(response.data.data.getFilm.heading) console.log(response) } asyncApiCall()