This repository contains a simple Node.js application that fetches movie data using the OMDB API. It utilizes the Axios library to retrieve information about a specific movie title and logs it to the console.
- Fetches movie data from OMDB API
- Uses Axios for making HTTP requests
- Logs movie details to the console
-
Clone the repository:
git clone https://github.com/Sabandogan/movie-data-fetcher cd movie-data-fetcher -
Install the dependencies:
npm install
-
Obtain an OMDB API key from https://www.omdbapi.com/ and replace
YOUR_OMDB_API_KEYin the code with your actual API key.
-
Edit the
movieTitlevariable in the code to specify the movie title you want to fetch data for. -
Run the application:
node index.js
-
The movie data will be fetched from the OMDB API and logged to the console.
