Coder Social home page Coder Social logo

adgamerx / imdb-api Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 15 KB

This is an unofficial API to scrape data from IMDB site...

Home Page: https://imdb-api.fixalis706.repl.co/api/id/tt0848228

JavaScript 100.00%
nodejs api imdb imdb-api imdb-webscrapping nodejs-server movies-api hacktoberfest hacktoberfest-accepted hacktoberfest2022

imdb-api's Introduction

IMDB-API

IMDB-API is an unofficial API to scrape data from IMDB site...

How to get data

You can get the data by using two methods.

  1. Searching By IMDB ID. It looks something like tt0848228
/api/id/{ID}
  1. Searching By Movie Name.
/api/title/{movie_name}

Example of search by id

Request

$ /api/id/avengers

Response

[
    {
        "name": "The Avengers",
        "year": "2012",
        "rating": "8.0",
        "genre": "ActionAdventureSci-Fi",
        "plot": "Earth's mightiest heroes must come together and learn to fight as a team if they are going to stop the mischievous Loki and his alien army from enslaving humanity.",
        "director": "Joss Whedon"
    }
]

Live Demo

Go to https://imdb-api.fixalis706.repl.co/api/id/${IMDB_ID} to search by IMDB ID

or https://imdb-api.fixalis706.repl.co/api/title/${Movie_Name} to search by movie title

You can fork this repo and deploy it to your server or you can deploy it on Heroku easily by clicking the below button

Deploy


imdb-api's People

Contributors

adgamerx avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sachinsenals

imdb-api's Issues

Not getting expected output

Getting empty value

Array[1][
  {
    "name": "The Avengers",
    "year": "",
    "rating": "",
    "genre": "",
    "plot": "Earth's mightiest heroes must come together and learn to fight as a team\
     if they are going to stop the mischievous Loki and his alien army from enslaving humanity.",
    "director": ""
  }
]

please fix it dear sir.

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.