Skip to main content

Reporting API Client

This is a Python Client for Jampp’s Reporting API. For more information, check the docs.

Features

  • Execute Pivots in an user friendly manner.

  • Execute raw GraphQL queries against the Reporting API.

Basic Usage

import os

from reporting_api_client import ReportingAPIClient


client = ReportingAPIClient(os.environ["CLIENT_ID"], os.environ["CLIENT_SECRET"])
query = """{
    pivot(from: "2022-07-01", to: "2022-07-02", granularity: DAILY) {
        results {
            clicks
        }
    }
}"""

result = client.query(query)
print(result)

Executing the above code should output a result similar to the following:

$ python example.py
{'pivot': {'results': [{'clicks': 123456}]}}

Change Log

All notable changes to this project will be documented here.

Sort subsections like so: Added, Bugfixes, Improvements, Technical tasks. Group anything an end user shouldn’t care deeply about into technical tasks, even if they’re technically bugs. Only include as “bugfixes” bugs with user-visible outcomes.

When major components get significant changes worthy of mention, they can be described in a Major section.

v0.3.2 - 2026-06-01

Changed

  • Relax gql requirements to improve compatibility with older stacks

v0.3.1 - 2026-04-29

Yanked

v0.3.0 - 2022-09-12

Added

  • Add workflows for CI and publishing to PyPI.

  • Host documentation publically.

Changed

  • Remove Jampp’s refferences.

v0.2.0 - 2022-08-29

Added

  • Remove need of introspection on client.

v0.1.0 - 2022-07-19

Added

  • Add base ReportingAPIClient implementation using OAuth for authentication

  • Rename to reporting_api_client.

Metadata

Release files for jampp-reporting-api-client 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 jampp-reporting-api-client 0.3.2
File Size Uploaded Provenance Actions
jampp_reporting_api_client-0.3.2.tar.gz 7.9 kB Without provenance Details for jampp_reporting_api_client-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jampp-reporting-api-client 0.3.2
File Interpreter ABI Platform Actions
jampp_reporting_api_client-0.3.2-py3-none-any.whl Python 3 none any Details for jampp_reporting_api_client-0.3.2-py3-none-any.whl

Total release size: 15.3 kB

Release files / jampp_reporting_api_client-0.3.2.tar.gz

Download URL jampp_reporting_api_client-0.3.2.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1de70f6237ec15234658b572c01229cf61eba25251208d7f911693310d6ddfde
BLAKE2b-256 checksum
How to use checksums
913505054642adaa37def2276c63cd25d316a1c82733af84e7f128b56d10df6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

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

Download URL jampp_reporting_api_client-0.3.2-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f782b28c681f4b0faba87c583cfaffe00f083b5f4a84eec1ac0308a67684c12
BLAKE2b-256 checksum
How to use checksums
a1fb330589cf26fdb05d2abcae840a0ae43e81664e3fdd7bf18fbc4e28b1f868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Security for jampp-reporting-api-client 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