Example Usage for Star Wars API
Included Utility to Print flavor text, Starships, and pilot information.
Readme Source Credit: https://github.com/emaraschio/swapi-ruby/blob/master/README.md
API Documentation: http://swapi.co/documentation
Tested on Ruby 1.9.3 Included Gem File
$ bundle install
$ ./starships-pilots.rb
# or
$ ruby starships-pilots.rb
Example::
------------------------------
Name: Belbullab-22 starfighter
Class: Starfighter
Manufacturer: Feethan Ottraw Scalable Assemblies
Crew: 1
Maximum Atmospheric Speed: 1100
Cargo: 140
Pilots:
Obi-Wan Kenobi
Grievous