Skip to content

ScottIsAFool/Threepio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 

Repository files navigation

Threepio

A C# library for accessing the Star Wars API at http://swapi.co/ (It's written in C#, and it translates things from JSON into .Net objects - hence Threepio)

Usage

Available classes are:

    Film  
    Character  
    Species  
    Planet  
    Starship  
    Vehicle  

All classes have two static methods:

    T Get(int id)  
    List<T> GetPage(int pageNumber = 1)  

Film also has a set of convenience methods for returning the individual films:

    Film.Episode1  
    ...  
    Film.Episode6

Where classes are related, they hold a list of integer Ids e.g. Starship.Pilots is a list of Ids of Character. Occasionally the link is singular, as in Character.Homeworld which relates to a Planet.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%