SDK for Trust-Grid API
Project description
TGA SDK
A Python SDK for interacting with the Trust-Grid API.
Installation
pip install tga
Usage
from tga import TrustGridClient
client = TrustGridClient(api_key="your-api-key")
# Example: Register an organization
org = client.register_organization("MyOrg")
# Example: Request data access
response = client.request_data_access(user_id="user123", data_type="email", purpose="marketing")
API Reference
TrustGridClient
register_organization(org_name): Register a new organization.request_data_access(user_id, data_type, purpose): Request data access for a user.get_api_keys(): Retrieve API keys for the organization.create_api_key(name): Create a new API key.revoke_api_key(key_id): Revoke an API key.
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
tga-0.1.0.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tga-0.1.0-py3-none-any.whl
(2.5 kB
view details)
File details
Details for the file tga-0.1.0.tar.gz.
File metadata
- Download URL: tga-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1537c5faa7d6fbd90f9a1e07ff76458dc28ec1f06c09497ec711edbb2cff6d43
|
|
| MD5 |
fc8372ed1b9dc0bcdb902c277ab75387
|
|
| BLAKE2b-256 |
f4aaf9990cc2a331da105c0b5abd69cec557b8ed3374586756d27b941ab07fae
|
File details
Details for the file tga-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tga-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78343f39722891d3ea56b661adef58b9e9735e0dceeef23deffec47d0e4561e9
|
|
| MD5 |
b1c333a90def42ca481f391507fb6fff
|
|
| BLAKE2b-256 |
420fa42555fbaefa087a326688953bea650fbfb3d4409b48295206816488331e
|