Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
library for retrieving trailer movies
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
README

README

trailers is a library that returns trailer videos given a movie name

require 'trailers'

source = SmartTrailerSource.new
trailer = source.find_by_name(ARGV[0])
puts "#{trailer.url}, #{trailer.source}" if trailer
Something went wrong with that request. Please try again.