olcay / SharpTrooper

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

Home Page:https://swapi.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://swapi.dev/


Languages

Language:C# 100.0%