Skip to content
A C# helper library for swapi.co - the Star Wars API
C#
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Core
Entities
Properties
.gitattributes
.gitignore
README.md
SharpTrooper.csproj
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

You can’t perform that action at this time.