Sha256: 36719544e707a762567bc2da0e4d3fafacd90edbff1734aa76a85b2d55b09095

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

[![Build Status](https://travis-ci.org/SpaceRocks/neows-ruby.svg?branch=master)](https://travis-ci.org/SpaceRocks/neows-ruby)
[![Coverage Status](https://coveralls.io/repos/SpaceRocks/neows-ruby/badge.svg?branch=master&service=github)](https://coveralls.io/github/SpaceRocks/neows-ruby?branch=master)

# NeoWs Ruby Gem

A Ruby interface to the NeoWs API

## Installation

```
  $ gem install neows
```

## Configuration
```ruby
client = Neows::REST::Client.new
```

## Usage Examples
With a configured `client` you can:

**View a Feed (grouped by date)**

```ruby
client.feed('2015-07-01', '2015-07-04')
```

**Browse Near Earth Objects**

```ruby
client.browse
```

**Easily navigate between pages in Feed and Browse**

```ruby
feed = client.feed('2015-07-01', '2015-07-04')
feed.next

browse = client.browse
browse.next
```

**Fetch a Near Earth Object (by ID)**

```ruby
client.neo('3724245')
```

**See stats relating to the NeoWs database**

```ruby
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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neows-0.0.1 README.md