SharpTrooper
A C# helper library for swapi.dev - the Star Wars API
Install / Use
/learn @olcay/SharpTrooperREADME
SharpTrooper
A C# helper library for SWAPI - the Star Wars API
Basic Usage
Register SharpTrooperCore to your services for Dependency Injection.
https://github.com/olcay/SharpTrooper/blob/f67a48f0cac0d7bd62454ec63808dcf5fa640a9c/SharpTrooper.Example/Program.cs#L18-L31
Methods
var films = await sharpTrooperService.GetAllFilmsAsync();
var people = await sharpTrooperService.GetAllPeopleAsync();
var vehicles = await sharpTrooperService.GetAllVehiclesAsync();
var species = await sharpTrooperService.GetAllSpeciesAsync();
var planets = await sharpTrooperService.GetAllPlanetsAsync();
For more info, visit the documentation of SWAPI: SWAPI/Documentation
or my personal blog post: The Star Wars API
