A Ruby interface to the Near Earth Object Web Service (NeoWs) API
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.rubocop.yml
.travis.yml
.yardopts
Gemfile
LICENSE.md
README.md
Rakefile
neows-0.0.1.gem
neows.gemspec

README.md

Gem Version Build Status Coverage Status Code Climate

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