JustGiving C# SDK
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/JustGivingSDK
.gitattributes
.gitignore
README.md

README.md

.NET SDK for the JustGiving API

QuickStart:

PM> Install-Package JustGivingNETSDK
var string appId = "e488ce85";
var client = new JustGivingApiClient(appId);

//or, if you want to use methods requiring authentication
//var basicAuthenticationClient = new JustGivingApiClient(appId, new BasicCredential(email, password));
//var oauthClient = new JustGivingApiClient(appId, applicationKey, new OAuthAccessToken(accessToken));

client.UseProduction();
client.LogEverything();

//If you need to set a proxy, do so like this
//client.UseProxy(new WebProxy()); 

var myAccountDetails = await client.Accounts.RetrieveAccount();

var donations = await client.Fundraising.GetFundraisingPageDonations("pageShortName",1,20);

Also see


Support

If you're having issues that the resources above don't help with, feel free to email us at apisupport@justgiving.com