Skip to content
library for retrieving trailer movies
Ruby
Find file
Latest commit 1b7dd59 @maddox put caching back in
Failed to load latest commit information.
lib put caching back in
test
README initial commit

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.