RZoopla
Installation
Add this line to your application's Gemfile:
gem 'rzoopla'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rzoopla
Usage
RZoopla.configure do |config|
config.api_key = ENV['ZOOPLA_API_KEY']
end
RZoopla::Listings.where(
area: 'Edinburgh'
radius: 0.1,
order_by: 'age',
maximum_beds: 2,
listing_status: 'sale',
include_sold: 0
)
Contributing
- Fork it ( https://github.com/Omer/rzoopla/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request