/Adobe-Analytics-API

Adobe Analytics API wrapper for .NET

Primary LanguageC#MIT LicenseMIT

Adobe Reporting API for .NET

.NET 2.2 CD .NET 2.2 CI CodeQL

A .NET project written to make using the Adobe Reporting API easy.

Getting Started

These instructions will guide you through installing and using the package to access the Adobe Reporting API.

Installing

First, install NuGet. Then, install the NuGet package Adobe Reporting API into your application:

PM> Install-Package DentsuDataLab.Adobe

Using the services

The easiest way to get started using the API wrapper is by using the IServiceCollection extension that the project includes. All the required dependencies can be configured with the following:

public void ConfigureServices(IServiceCollection services)
{
    services.AddAdobeServices();
}

Alternatively you can manually create a service like this:

var httpClient = new HttpClient();
var clientStore = new AdobeClientStore(); // Keep this, as it stores tokens, so you won't have to authorize for every call
var authService = new AdobeAuthorizationService(clientStore);
var reportService = new ReportService(httpClient, authService);

Services available

The following services are available:

Authors

  • Frederik Baun Hansen - Primary developer
  • Kasper Hesthaven

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Contributing

For details on contributing to this repository, see the contributing guide.