A Python client library for interacting with the AML Optima Compass API.
Project description
AML Optima Compass API Client
A Python client library for interacting with the AML Optima Compass API.
Installation
pip install amlcompass_api
Quick Start
- Create
.envfile in your project root:
CONSUMER_KEY=<your_consumer_key>
CONSUMER_SECRET=<your_consumer_secret>
API_URL=https://api.amlcompass.com
- Basic Usage:
from amlcompass_api import aml_client
from typing import Dict
# Get transaction details
def get_transaction(transaction_id: str) -> Dict:
return aml_client.transaction_service.get_data(transaction_id)
# Add document to transaction
def add_document(transaction_id: str, document_url: str, doc_type_id: int) -> Dict:
return aml_client.transaction_service.add_document(
transaction_id=transaction_id,
document_url=document_url,
document_type_id=doc_type_id
)
Available Features
-
Authentication
- OAuth 1.0 support
-
Transaction Services
- Transaction data retrieval
- Transaction validation
- Document attachment
-
Future Services (Coming Soon)
Development
Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -am 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Create Pull Request
Development Guidelines
- Run tests before submitting PRs
- Add documentation for new features
- Follow Python type hinting conventions
- Update changelog
License
MIT License - See LICENSE for details.
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
amlcompass_api-0.1.2.tar.gz
(8.1 kB
view details)
File details
Details for the file amlcompass_api-0.1.2.tar.gz.
File metadata
- Download URL: amlcompass_api-0.1.2.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5b538cd836707d8e666ceb61068d9983bbb8b58ad83282dcc2b54f2a430bcf6
|
|
| MD5 |
3193e9de0f6d2d9f32ae91a57f26fad9
|
|
| BLAKE2b-256 |
c11663e84d8fb7d1208aaf8a11546473fdbe321bbc70fe73a3563d03030adf54
|