NeoWs Ruby Gem
A Ruby interface to the NeoWs API
Installation
$ gem install neows
Documentation
Gem API: http://rdoc.info/gems/neows
REST API: http://www.neowsapp.com
Configuration
client = Neows::REST::Client.new
Usage Examples
With a configured client
you can:
View a Feed (grouped by date)
client.feed('2015-07-01', '2015-07-04')
Browse Near Earth Objects
client.browse
Easily navigate between pages in Feed and Browse
feed = client.feed('2015-07-01', '2015-07-04')
feed.next
browse = client.browse
browse.next
Fetch a Near Earth Object (by ID)
client.neo('3724245')
See stats relating to the NeoWs database
client.stats
Supported Ruby Versions
This library supports and is tested against the following Ruby versions:
- Ruby 1.9.3
- Ruby 2.0.0
- Ruby 2.1
- Ruby 2.2