Project

iml-imdb

0.0
No commit activity in last 3 years
No release in over 3 years
Library which parses strings into media objects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 0.11
~> 12.3
~> 3.7
~> 0.16
~> 4.0
~> 3.4
~> 0.9

Runtime

~> 0.1
~> 1.8
 Project Readme

Gem Version build status Maintainability Test Coverage Yard Docs

IML

Intricate (Media) Matching Logic IMDB Extension

This is an exstension to the iml gem. It allows simple IMDB query/search operations.

Installation

This gem requires ruby >= 2.4

Add this line to your application's Gemfile:

gem 'iml-imdb'

And then execute:

$ bundle

Or install it yourself as:

$ gem install iml-imdb

Usage

Code

search = IML::IMDB.new('transformers')
search.result
=> [#<IML::Movie title="Transformers", href="/title/tt0418279/?ref_=fn_al_tt_1", year="2007">,
    #<IML::TVSeries title="The Transformers", href="/title/tt0086817/?ref_=fn_al_tt_2", year="1984">,
    #<IML::Movie title="The Transformers: The Movie", href="/title/tt0092106/?ref_=fn_al_tt_3", year="1986">]

movie = IML::Movie.new(title: 'Transformers')
=> #<IML::Movie title="Transformers">
movie.imdb
=> #<IML::Movie title="Transformers", year="2007", director="Michael Bay", rating="7.1", writer="Roberto Orci, Alex Kurtzman, DreamWorks, Paramount Pictures, Hasbro", summary="An ancient struggle between two Cybertronian races, the heroic Autobots and the evil Decepticons, comes to Earth, with a clue to the ultimate power held by a teenager.", actors="Shia LaBeouf, Megan Fox, Josh Duhamel">

License

The gem is available as open source under the terms of the MIT License.