A .NET project written to make using the Adobe Reporting API easy.
These instructions will guide you through installing and using the package to access the Adobe Reporting API.
First, install NuGet. Then, install the NuGet package Adobe Reporting API into your application:
PM> Install-Package DentsuDataLab.Adobe
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);
The following services are available:
- Frederik Baun Hansen - Primary developer
- Kasper Hesthaven
This project is licensed under the MIT License - see the LICENSE.txt file for details.
For details on contributing to this repository, see the contributing guide.