Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 865 Bytes

README.md

File metadata and controls

44 lines (35 loc) · 865 Bytes

starwarsapiex

Example Usage for Star Wars API Darth Vader

Description

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

Installation

Tested on Ruby 1.9.3 Included Gem File

$ bundle install

Basic Usage

$ ./starships-pilots.rb
# or
$ ruby starships-pilots.rb

Example

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