Skip to content

Instantly share code, notes, and snippets.

@shahriarhossain
Last active December 9, 2015 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shahriarhossain/081240ce33fe7d2919ad to your computer and use it in GitHub Desktop.
Save shahriarhossain/081240ce33fe7d2919ad to your computer and use it in GitHub Desktop.
public class MailChimpReportsOverview
{
BaseOperation basicOperation = new BaseOperation();
public async Task<ReportOverview> GetOverviewAsync()
{
//Generating endpoint
string endpoint = Authenticate.EndPointBuilder(TargetTypes.reports, SubTargetType.not_applicable, SubTargetType.not_applicable);
return await basicOperation.GetAsync<ReportOverview>(endpoint);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment