Skip to content

foilking/MarvelAPI

Repository files navigation

MarvelAPI

Simple way to access Marvel's REST API. For full details on getting started with the Marvel API, go check out the official website.

Walkthrough example:

Create connection:

var marvel = new Marvel(_MarvelPublicKey, _MarvelPrivateKey)

Get an individual character:

var characterId = 1009268; // Deadpool
Character character = marvel.GetCharacter(characterId);

Get filtered characters:

IEnumerable<Character> characters = marvel.GetCharacters(new GetCharacters{Name, ModifiedSince, Comics, Series, Events, Stories, Order, Limit, Offset});