Adjust.com python API client
Project description
Adjust Client Library
adjust-client
The Adjust Client Library is a Python library for sending events to Adjust using the HTTP API. It includes functionality for validation, error handling, and retry mechanisms.
Installation
The Adjust Client Library is available on PyPI. You can install it using pip or poetry:
pip install adjust-client
poetry add adjust-client
Usage
To use the Adjust Client Library, you need to create an instance of the AdjustClient
class. You can then use the send_event
method to send events to Adjust.
from adjust_client import AdjustClientConfig, AdjustClient
config = AdjustClientConfig(app_token='your_app_token')
event_data = {
'idfa': 'D2CADB5F-410F-4963-AC0C-2A78534BDF1E',
'adid': 'test_adid',
'ip_address': '192.168.0.1',
'created_at_unix': 1625077800,
'created_at': '2021-06-30T12:30:00Z'
}
client = AdjustClient(config)
await client.send_event(event_data)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
adjust_client-1.0.3.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file adjust_client-1.0.3.tar.gz
.
File metadata
- Download URL: adjust_client-1.0.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f5ddfc9801e655671d5e40b400e42e0377e998aa9742c04e645f4e69b33badb |
|
MD5 | 2a0fb3cd6f0ba96595b38f6d91150c6b |
|
BLAKE2b-256 | bf3fea667b2486ec6ecf0e1aa1e01945d51dc6c6fa3e384e820681022bfd077e |
File details
Details for the file adjust_client-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: adjust_client-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92f8e7b849d894f2c58b9882ceb45b851c4c9c7add5a577b56d08875a2b2f4f1 |
|
MD5 | b03984c007b187e9ec134b6378ac673f |
|
BLAKE2b-256 | 770fe3b7487fc7b87c8ee850bd37f6efcc37a874d4cc73e942502008b73949b8 |