Skip to content

dishcandanty/starwarsapiex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Example Usage for Star Wars API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages