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
  • Retrieve Segments
  • Retrieve Metrics
  • Retrieve Dimensions
  • Retrieve Calculated Metrics
  • Retrieve Virtual Report Suites
  • Retrieve Virtual Report Suite Curated Components
  • Retrieve Tags
  • Retrieve Usage Logs from users
  • Retrieve Projects
  • Retrieve Scheduled Jobs / Projects
  • Update Segment
  • Update Calculated Metric
  • Update Tags
  • Update Project
  • Delete Segment
  • Delete CalculatedMetric
  • Delete VirtualReportSuite
  • Delete Project
  • Delete DateRange
  • Create a Project
  • Create a Scheduling job for a Workspace Project

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

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.4.2.post6.tar.gz (161.2 kB view details)

Uploaded Source

Built Distribution

aanalytics2-0.4.2.post6-py3-none-any.whl (74.6 kB view details)

Uploaded Python 3

File details

Details for the file aanalytics2-0.4.2.post6.tar.gz.

File metadata

  • Download URL: aanalytics2-0.4.2.post6.tar.gz
  • Upload date:
  • Size: 161.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for aanalytics2-0.4.2.post6.tar.gz
Algorithm Hash digest
SHA256 af708d0cef4ea33bd986059aa300d3640446362108eb783ac632ca6a285f2c53
MD5 5865139178c6076b0c6449d71a8f1b0d
BLAKE2b-256 f815e5eb1582f4f8e3a882733df4aefe65b60cc2bc9e558da10caff8d614df98

See more details on using hashes here.

File details

Details for the file aanalytics2-0.4.2.post6-py3-none-any.whl.

File metadata

File hashes

Hashes for aanalytics2-0.4.2.post6-py3-none-any.whl
Algorithm Hash digest
SHA256 34cf8264d7731524cb9172601acb28f713b4110fca58bf25c96067cfc53fd485
MD5 147b5c904bf925ed097b7f7adac0bca1
BLAKE2b-256 e4c2be0a67f6e9bcafefa30adb73f6c235c6486f7573fd2e392a3a66c8c16ce6

See more details on using hashes here.

Supported by

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