Skip to main content

Adobe Analytics API 2.0 and 1.4 python wrapper

Project description

Adobe Analytics API v2.0


This is a python wrapper for the adobe analytics API 2.0.

Documentation

Most of the documentation for this API will be hosted at datanalyst.info.
Getting Started details on Github.

Appendix for running on a server

Versions

A documentation about the releases information can be found here : aanalytics2 releases

Functionalities

Functionalities that are covered :

Reporting API

  • Run a report statement
  • Retrieve Users, Segments, Metrics, Dimensions, Calculated Metrics, DateRange ,Virtual Report Suites, Tags, Projects, Annotations
  • Update Segment, Calculated Metric, Tags, Project, DateRange, Annotation,
  • Delete Segment, CalculatedMetric, VirtualReportSuite, Project, DateRange, Annotation
  • Create a Project
  • Create a Scheduling job for a Workspace Project
  • Retrieve Usage Logs from users
  • Manage Data Source
  • Manage Data Warehouse Requests

documentation on reporting here

Data Ingestion APIs

  • Data Ingestion API from API 1.4
  • Bulk Data Insertion API

documentation on ingestion APIs here

Legacy Analytics API 1.4

This module provide limited support for the 1.4 API. It basically wrapped your request with some internal module and you can pass your request path, method, parameters and / or data. More information in the dedicated documentation for 1.4

RequestCreator class

The aanalytics2 module enables you to generate request dictionary for the getReport method easily.
You will have no need to go to the UI in order to create a report template JSON anymore.
Do it automatically from the python interface. More information on the RequestCreator documentation

AnnotationCreator

The aanalytics2 module simplifies the creation of annotation definition via a specific module and class.
The annotationCreator module contains the AnnotationCreator class.
It is a builder that helps you create your annotation programmatically.
More information on the AnnotationCreator documentation

Data Warehouse Creator

The aanalytics2 module tries to simplify the creation of the data warehouse request definitions.
A builder has been provided in an additional module: dwhCreator.
The module contains a class DwhCreator that should provide helpful functionalities to define your report requests.
More information on the DwhCreator class

Data Repair API

The data repair API allows to delete or transform data that has been already ingested in Adobe Analytics.
The Data Repair API is an additional SKU in the Adobe Analytics licence, make sure you are provisionned before trying to use the module and API.
More information on the data repair module

Project Data

There is a feature to retrieve the Workspace projects and the components used.
Refer to this documentation on Project for more information.

Logging capability

In case you want to use the logging capability for your script.
You can look at the reference for this on the logging documentation page

Getting Started

To install the library with PIP use:

pip install aanalytics2

or

python -m pip install --upgrade git+<https://github.com/pitchmuc/adobe_analytics_api_2.0.git#egg=aanalytics2>

Dependencies

In order to use this API in python, you would need to have those libraries installed :

  • pandas
  • requests
  • json
  • PyJWT
  • PyJWT[crypto]
  • pathlib
  • dicttoxml
  • pytest

Test

A test support has been added with pytest. The complete documentation to run the test can be found here : testing aanalytics2

Others Sources

You can find information about the Adobe Analytics API 2.0 here :

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aanalytics2-0.5.2.tar.gz (212.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aanalytics2-0.5.2-py3-none-any.whl (112.9 kB view details)

Uploaded Python 3

File details

Details for the file aanalytics2-0.5.2.tar.gz.

File metadata

  • Download URL: aanalytics2-0.5.2.tar.gz
  • Upload date:
  • Size: 212.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for aanalytics2-0.5.2.tar.gz
Algorithm Hash digest
SHA256 009ded80c3d72938ae99fd46e6c9d5ffac949ca0bb95ac72da0a7bd6eb953631
MD5 a0e8e177db65441fc14aee4ea2cf8537
BLAKE2b-256 947d90cd19c0f18bb49cf0c56ee3749d7354bc1bc53a424dceaa4727fed43feb

See more details on using hashes here.

File details

Details for the file aanalytics2-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: aanalytics2-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 112.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for aanalytics2-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 786e90cdfcfa229f484323af7fa9e74c19b42efb1ea09f6cf202906c67570ff4
MD5 0364ea1e7dd839f52661cd985cacc588
BLAKE2b-256 445ea0525ef79d1ce4727d9fb450439bc6078703c354f7cc7fd2190aa9a21e35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page