A C# helper library for swapi.co - the Star Wars API
C#
Switch branches/tags
Nothing to show
Clone or download
Latest commit f81dac7 Oct 26, 2017
Permalink
Failed to load latest commit information.
Core pagination encapsulated Jul 27, 2015
Entities Project Init Jan 7, 2015
Properties Project Init Jan 7, 2015
.gitattributes pagination encapsulated Jul 27, 2015
.gitignore pagination encapsulated Jul 27, 2015
README.md Update README.md Oct 26, 2017
SharpTrooper.csproj Project Init Jan 7, 2015
packages.config Project Init Jan 7, 2015

README.md

SharpTrooper

A C# helper library for SWAPI - the Star Wars API

Basic Usage

All resources are accessible through the top-level SharpTrooperCore() methods:

SharpTrooperCore core = new SharpTrooperCore();

Methods

var planet = core.GetPlanet("1");

var planets = core.GetAllPlanets();

...

var resourceFromUrl = core.GetSingleByUrl<People>(planet.residents[0]);

For more info, visit the documentation of SWAPI: SWAPI/Documentation

or my personal blog post: Otomatik Mühendis