Git Product home page Git Product logo

imdb-api's Introduction

IMDB-API

A python script which takes imdb ID or movie title as input and outputs a JSON object of all the information available on www.imdb.com

Dependancies

  • BeautifulSoup
  • requests
  • json

Usage

Input:
Enter IMDB ID or Title: tt2395427

Output:
{"rating": "7.4", "votes": "519,581", "rated": "PG-13", "description": "When Tony Stark and Bruce Banner try to jump-start a dormant peacekeeping program called Ultron, things go horribly wrong and it's up to Earth's mightiest heroes to stop the villainous Ultron from enacting his terrible plan.", "title": "Avengers: Age of Ultron\u00a0(2015)", "poster": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTM4OGJmNWMtOTM4Ni00NTE3LTg3MDItZmQxYjc4N2JhNmUxXkEyXkFqcGdeQXVyNTgzMDMzMTg@._V1_UX182_CR0,0,182,268_AL__QL50.jpg", "bestRating": "10", "cast": ["Robert Downey Jr.", "Chris Evans", "Mark Ruffalo"], "directors": ["Joss Whedon"], "writers": ["Joss Whedon", "Stan Lee (based on the Marvel comics by)", "Marvel Studios", "Walt Disney Pictures"], "genre": ["Action", "Adventure", "Sci-Fi"]}


Input:
Enter IMDB ID or Title: harry potter 6

Output:
{"rating": "7.5", "votes": "352,297", "rated": "PG", "description": "As Harry Potter begins his sixth year at Hogwarts, he discovers an old book marked as "the property of the Half-Blood Prince" and begins to learn more about Lord Voldemort's dark past.", "title": "Harry Potter and the Half-Blood Prince\u00a0(2009)", "poster": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzU3NDg4NTAyNV5BMl5BanBnXkFtZTcwOTg2ODg1Mg@@._V1_UX182_CR0,0,182,268_AL__QL50.jpg", "bestRating": "10", "cast": ["Daniel Radcliffe", "Emma Watson", "Rupert Grint"], "directors": ["David Yates"], "writers": ["Steve Kloves (screenplay)", "J.K. Rowling (novel)", "Warner Bros.", "Heyday Films"], "genre": ["Adventure", "Family", "Fantasy"]}


Feel free to use or suggest any changes. Thank You! ๐Ÿ˜‡

imdb-api's People

Contributors

msaqib4203 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.