Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

jsahlen-imdb

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsahlen-imdb

bundlerRubyGems.org
Version
0.1.0
Version published
Maintainers
1
Created
Source

IMDb Parser

Built this as a learning excercise, and because the existing libraries didn't work exactly as I wanted them to.

This is an extremely early version, which will likely be severely refactored as it progresses.

Search example

This is the only functionality that works right now.

require 'imdb'

results = IMDB::Search.new("howl")
results.each do |movie|
  puts "#{movie.title} (#{movie.year}) [#{movie.id}]"
  unless movie.aka.empty?
    movie.aka.each { |aka| puts "  a.k.a. #{aka}" }
  end
end

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts