Project

neows

0.0
No commit activity in last 3 years
No release in over 3 years
A Ruby interface to the NeoWs API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 10.0

Runtime

~> 0.8.4
~> 1.0.5
 Project Readme

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