A C# helper library for SWAPI - the Star Wars API
Register SharpTrooperCore
to your services for Dependency Injection.
SharpTrooper/SharpTrooper.Example/Program.cs
Lines 18 to 31 in f67a48f
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