Skip to main content

Adobe Customer Journey API


This is a python wrapper for the Adobe Customer Journey API.
One important element when starting with CJA API is that you need to have your adobe console.io Project containing access to AEP and CJA.
You cannot use the API without having access to both elements.

Documentation

Documentation is split in different places:

Versions

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

Functionalities

Functionalities that are covered :

  • Get Dimensions & Metrics
  • Get, Update and Delete Tags & Shares
  • Get, Update and Delete Dataview
  • Get, Update and Delete Date Ranges
  • Get, Update and Delete Filters
  • Get Top items for a dimension
  • Get, Update and delete projects
  • Digest Project Information and analyse them via the Project class
  • Run a report (by default returning a Workspace instance)
  • (BETA) Run a multi dimensional report

Getting Started

A documentation is provided to get started quickly with the CJA API wrapper in python.
You can find it here: get started on cjapy
To install the library with PIP use:

pip install cjapy

or, to get the latest version from github

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

Logging capability

A logging capability is present on the module for debugging purposes.
There is a proper documentation in place to understand how you can add the logging messages to your runtime.
Documentation on logging in cjapy

Dependencies

Runtime dependencies are declared in pyproject.toml:

  • pandas
  • requests
  • deprecation

Tests

Use Python 3.10 or newer, create a virtual environment, and install the package and test dependencies from the repository root:

python -m venv .venv
# Activate .venv using the command for your shell, e.g. source .venv/bin/activate
python -m pip install -r requirements-dev.txt
python -m pytest -q

The connector tests use a local HTTP server on an ephemeral loopback port and synthetic, non-expiring credentials. No Adobe account, configuration file, secrets, or external network access is needed to run them after dependencies are installed. External connections are blocked by a test fixture; local loopback sockets must be permitted. The tests exercise the actual requests/urllib3 retry adapter and replace only urllib3's clock and sleep functions to verify delays without waiting.

Coverage includes JSON responses, 429 and transient 500/502/503/504 responses, Retry-After seconds and HTTP dates, exponential backoff, and retry exhaustion. The tests characterize current behavior: retry=0 still permits three retries, POST/PATCH requests are retried too, and exhaustion returns the final JSON error (or HTTP status for DELETE) instead of raising a status-retry exception.

GitHub Actions runs the suite on Python 3.10–3.14 for pushes and pull requests. This follows pyproject.toml's requires-python = ">=3.10". The older setup.py declaration (>=3.6) and the Python 3.6–3.9 classifiers across the metadata files conflict with that minimum. Those declarations remain unchanged; maintainers should reconcile the support policy separately.

Others Sources

You can find information about the CJA API here :

  • [https://www.adobe.io/cja-apis/docs/api/]
  • [https://www.adobe.io/cja-apis/docs/use-cases/]

Packaging checks

See packaging and release checks for wheel/sdist builds, fresh-install smoke checks, and test dependencies. The project requires Python 3.10 or newer and is licensed under Apache License 2.0.

Metadata

Release files for cjapy 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cjapy 0.3.2
File Size Uploaded Provenance Actions
cjapy-0.3.2.tar.gz 86.1 kB Without provenance Details for cjapy-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cjapy 0.3.2
File Interpreter ABI Platform Actions
cjapy-0.3.2-py3-none-any.whl Python 3 none any Details for cjapy-0.3.2-py3-none-any.whl

Total release size: 138.1 kB

Release files / cjapy-0.3.2.tar.gz

Download URL cjapy-0.3.2.tar.gz
Size 86.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a50e1fe439bfc9ad5572ec75a877ae9fc3e4dc5f403062379181fc2bcde69f83
BLAKE2b-256 checksum
How to use checksums
92749759c1d3c7c87e008c260132dd63ba8057402a7c18e5744a2344d0791d29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / cjapy-0.3.2-py3-none-any.whl

Download URL cjapy-0.3.2-py3-none-any.whl
Size 52.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d0618cdbdbd8ceb2b958b0b836be0e9a38af6baa2161573097955977f442e6b
BLAKE2b-256 checksum
How to use checksums
28a106b220c3606e09a38be1a604652cc8ef4b5461f6c70fc58b5e26e2d1d0b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for cjapy 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page