Signs API requests and allows interaction via cURL methods.
# Setup
from kobas.Client import Client
from kobas.auth.Signer import Signer
signer = Signer(company_id=0, identifier='sid:?/imid:?', secret='...')
client = Client(signer=signer)
# Usage
customers = client.get('customer/search', {'email': '[email protected]'}, {})
print(customers)
cURL Get Request
cURL Post Request
cURL Put Request
cURL Delete Request
Allows over-riding the base URL (only really needed for development)
Allows over-riding of the API version. Might be useful in future?
Disables SSL Verify Peer. Needed for development, should never be used in production