Giter Site home page Giter Site logo

movieapp's Introduction

My Movie Engine

API-Project

Introduction

This project is a Movie App recommendation application. It allows users to search movies by title or genre, and retrieve information about the movies that match their query. The API used is http://www.omdbapi.com/

Getting Started

  1. Clone or Download the repository: git clone https://github.com/mariamisaeva/MovieApp.git
  2. Navigate into the directory: cd MovieApp
  3. Open the index.html file in your preferred web browser.
  4. Enter a keyword in the search input and click the "Search" button to retrieve movie results.
  5. Alternatively, you can open http://localhost in your browser to see the app running.

Adding Your API Key

Follow these steps to add your API key to the code:

  1. Get an API key from OMDb API.
  2. Open the index.html file in your browser.
  3. Enter your own API key in prompt box.
  4. Press Ok.

How It Works

Searches the movie database for movies matching the given search term. Returns an array of movie objects with properties : title, poster, year, and type. with the total number of results. If no matches are found, not relevant input, or no input, returns an error message. All responses return JSON data.

Features

  • Dynamic rendering of movie search results.
  • Display of total search results.
  • Error handling for unsuccessful API calls.

Screenshots

Screenshot 2024-01-20 at 21 51 28 Screenshot 2024-01-20 at 21 53 49 Screenshot 2024-01-20 at 21 54 04

movieapp's People

Contributors

mariamisaeva avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.