Skip to content

olcay/SharpTrooper

Repository files navigation

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

About

A C# helper library for swapi.dev - the Star Wars API

Resources

Stars

Watchers

Forks

Languages