Giter VIP home page Giter VIP logo

imdb-api's Introduction

IMDB-API

Requirements:

  • Install Python 3
  • Install BeautifulSoup
  • Install Flask Using "pip install flask"
  • Install MongoDB Server
  • Install pyMongo in Python with "pip"

Scraping Data

  • Send a HTTP request to the webpage using third party python library "request". The webpage respond to the request by returning HTML content. Using this library, I fatched 1000 Movie data from 10 different IMDB pages. Data includes Movie Id, Movie title, Rating, Starcast, Genre and Runtime.
  • Once we have accessed the HTML content, we are left with parsing the content. For this we will use another third party, python library "BeautifulSoup".

MongoDB DataBase

  • In mongoDB database I created a Database named "IMDB" and a collection named "movies_data" inside "IMDB" Database.

API 1 (Search Movie)

  • Collected data from MongoDB database and made a javascript for checking the Longest Common Subsequence(LCS). And completed the Autocomplete function which was asked in the Question. The rendering was done using flask.

API 2 (Search Movie by ID)

  • Implemented the api as per the specified norms as mentioned in the question. Pass the Movie ID in the input field and it will return the details of the movie with the related ID.

imdb-api's People

Contributors

deepak525 avatar theshivamchand avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

theshivamchand

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.