# PicturehouseUk A simple gem to parse the [Picturehouse Cinemas UK website](http://picturehouses.co.uk) and spit out useful formatted info. [![Gem Version](https://badge.fury.io/rb/picturehouse_uk.png)](http://badge.fury.io/rb/picturehouse_uk) [![Code Climate](https://codeclimate.com/github/andycroll/picturehouse_uk.png)](https://codeclimate.com/github/andycroll/picturehouse_uk) [![Build Status](https://travis-ci.org/andycroll/picturehouse_uk.png?branch=master)](https://travis-ci.org/andycroll/picturehouse_uk) ## Installation Add this line to your application's Gemfile: gem 'picturehouse_uk' And then execute: $ bundle Or install it yourself as: $ gem install picturehouse_uk ## Usage ### Cinema ``` ruby PicturehouseUK::Cinema.all #=> [, #=> , ...] PicturehouseUK::Cinema.find_by_id('Duke_Of_Yorks') #=> cinema = PicturehouseUK::Cinema.find_by_slug('duke-of-yorks') #=> cinema.brand #=> 'Picturehouse' cinema.chain_id #=> 'Duke_Of_Yorks' cinema.url #=> "http://www.picturehouses.co.uk/cinema/Duke_Of_Yorks/" cinema.films #=> [, ] cinema.screenings #=> [, , , ] cinema.screenings_of 'Iron Man 3' #=> [, ] cinema.screenings_of #=> [, ] ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request