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.8.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file adjust_client-1.0.8.tar.gz
.
File metadata
- Download URL: adjust_client-1.0.8.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43ede532acb65d5513b61fe19a466b9f5caebf13fc238a362b24ed90b594194d |
|
MD5 | 20aa2c14e0f8a7073219f191fbea844b |
|
BLAKE2b-256 | 01141ba472d13d161e89e32840d86464c4cb22de94919897cccc6e60149288a6 |
File details
Details for the file adjust_client-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: adjust_client-1.0.8-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d65231a21178155f3c35e81cf9585f45c2ac5d98aa56f80a3c7bb10c84114451 |
|
MD5 | 0630d45afa32b3ade23b8997af68f1f1 |
|
BLAKE2b-256 | 1e2b283748df5bd199ff89a8abe58e23f66fea663a13df5ede59915c03ff1784 |