Skip to content

Sparkiy/sparkiy.WindowsStore.Analytics.Client

Repository files navigation

sparkiy.WindowsStore.Analytics.Client

nuget Build status

Sparkiy Windows Store Analytics API client.

Sample usage:


using (var client = new AnalyticsClient())
{
  await client.AuthorizeAsync("<YOUR CLIENT ID>", "<YOUR CLIENT SECRET>");

  // Query fields
  var appID = "<YOUR APP ID>";
  var startDate = DateTime.Parse("01-01-2016");
  var endDate = DateTime.Parse("31-12-2016");
  var pageSize = 100;
  var startPageIndex = 0;

  var result = await client.GetAppAcquisitionsAsync(
    appID, startDate, endDate, pageSize, startPageIndex);

  Console.WriteLine("Got {0} acquisitions.", result.Count());
}

Get your Client Id and Client Secret

Take a look at this article for more details: Windows Store analytics API now available

About

Sparkiy Windows Store Analytics API client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages