Project

imdb_title

0.0
The project is in a healthy, maintained state
Extract useful information about your favorite Movies, TV shows, Episodes, or Games with our data extraction library. All the information you need is a method call away.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 0.21.0
~> 1.15, >= 1.15.4
 Project Readme

IMDb

Gem Version Tests Maintainability

Want to extract useful information about your favorite Movies, TV shows, Episodes, and Games? Look no further than our data extraction library! All the information you need is a method call away.

Quick links

Getting Started

Start by including imdb_title in your Gemfile:

gem 'imdb_title'

Then run bundle install.

or run this command in your console to install gem locally:

gem install imdb_title

Usage

Here's an example

require 'imdb_title'

# input a valid URL of any Movie, Tv-Show, Episode or Game from imdb.com
movie = IMDb::Title.new("https://www.imdb.com/title/tt0111161")

movie.title           #=> The Shawshank Redemption
movie.tagline      #=> Over the course of several years, two convicts...
movie.genres      #=> ["Drama"]
movie.revenue    #=> $28,884,716

movie.ancestors    #=> [IMDb::Title, Object, PP::ObjectMixin, ...]
movie.singleton_class.ancestors    #=> <Class:#<IMDb::Title:0x00007f4a0bf22a40>>, Movie, NonInteractive, IMDb::Title, Object, PP::ObjectMixin, ...]

Available Methods

For ALL titles
  1. title
  2. tagline
  3. genres
  4. ratings
  5. popularity
  6. directors
  7. production_companies
  8. casts
  9. release_date
  10. imdb_id
  11. url

For ALL titles EXCEPT Game
  1. duration

Exculsive to Movie
  1. budget
  2. revenue

Methods that return

Array
  1. casts
  2. genres
  3. directors
  4. production_companies

All other methods will return string type.

Contributing

If you have problems, please create a GitHub Issue.

Take a look at the Contributing document for instructions on setting up the repo on your machine, understanding the codebase, and creating a good pull request.

Thank you, contributors!

Versioning

ImdbTitle follows Semantic Versioning 2.0 as defined at https://semver.org.

License

This code is free to use under the terms of the MIT license.