Marvel API C# Wrapper

Installation

Head over to developer.marvel.com and sign up/in to get your API keys.

NuGet

Use NuGet to fetch and install the library for you.

                                        
    PM> Install-Package Marvel.Api
                    
                
Quick start
                                        
    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.

Documentation

The full doxygen documentation for the API can be found here.