A C# helper library for swapi.co - the Star Wars API
C#
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Core pagination encapsulated Jul 27, 2015
Entities
Properties
.gitattributes
.gitignore
README.md Readme Update Jul 27, 2015
SharpTrooper.csproj Project Init Jan 7, 2015
packages.config

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