Head over to developer.marvel.com and sign up/in to get your API keys.
const string publicKey = "YOUR PUBLIC KEY";
const string privateKey = "YOUR PRIVATE KEY";
// Initialize the API client
//
var client = new MarvelRestClient(publicKey, privateKey);
// First 20 characters
//
var response = client.FindCharacters();
// Iterate through the results
//
foreach (var character in response.Data.Results)
{
// Do something with the character info
string name = character.Name;
}
For more on how to use this wrapper visit marvel-csharp @ Github.
The full doxygen documentation for the API can be found here.