Coder Social home page Coder Social logo

imdb_lib's Introduction

IMDB_LIB Package

The main purpose of this package is to give acess to imdb data by scraping the website.

Functionalities

Import statemant

httpIMDB is the main class that you'll be using for now (version 0.1). It is responsible for all available data that can be retrieved.

from imdb_lib.session import httpIMDB

imdb = httpIMDB()

httpIMDB.getPopularTVShows() and httpIMDB.getPopularMovies()

Scrape the top 100 most popular TV Shows/Movies according to the IMDB ranking

Returns a pandas dataframe with 100 rows and the following columns: Id,title, poster, rating

httpIMDB.getTopRatedTVShows() and httpIMDB.getTopRatedMovies()

Scrape the top 100 most popular TV Shows/Movies according to the IMDB ranking

Returns a pandas dataframe with 250 rows and the following columns: Id,title, poster, rating

httpIMDB.getTitleDetails(id)

Scrape the given title id for details

Returns a pandas dataframe with one row and the following columns: title, poster, sinapse, rating, popularity, genres, types, top_cast, runtime, duration

httpIMDB.searchTitle(title)

As the name suggests, it is used to search for a title by its name

Requires 1 parameter, the title to be searched

Returns a pandas dataframe with the following columns: Id and Title

imdb_lib's People

Contributors

ricardobohadana avatar rdef avatar

Stargazers

Mohammad Reza Soleimani 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.