Skip to content

manojnaidu619/where_is_ISS

Repository files navigation

Wanna know Where is ISS?

Ruby gem to track ISS(International Space Station)

Build Status Coverage Status Gem Version codecov Gem

PRs Welcome Say Thanks!

Installation

Add this line to your application's Gemfile:

gem 'where_is_ISS'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install where_is_ISS

How to use:

To track ISS

 require 'where_is_ISS'
 Iss.track   

Europe/Brussels

To get the coordinates

 require 'where_is_ISS'
 Iss.coordinates

[39.905690278098, 130.19768130925]

[latitude, longitude]

To get complete data

 require 'where_is_ISS'
 Iss.info

["iss", 25544, 33.713440406913, 139.04106708983, 408.17433114318, 27613.034267873, "eclipsed", 1538486806, -3.6899752437549, 335.64562066714, "kilometers"]

[name, id, latitude, longitude, altitude, velocity, visibility, timestamp, solar latitude, solar longitude, units]

list people on ISS

 require 'where_is_ISS'
 Iss.members

["Oleg Artemyev", "Andrew Feustel", "Richard Arnold", "Sergey Prokopyev", "Alexander Gerst", "Serena Aunon-Chancellor"]

PRs Welcome

License

The gem is available as open source under the terms of the MIT License.