The ioka API uses API keys to authenticate requests.
import ioka_python
ioka_python.api_key = "YOUR_API_KEY"
Returns a list of your orders. The list of available query parameters can be
found here.
These parameters can be passed into list() function as keyword arguments.
import ioka_python
ioka_python.api_key = "Hello"
orders = ioka_python.Order().list(limit=2)
print(orders[0].id)
Retrieves an Order object. The list of returned fields are available here.
import ioka_python
ioka_python.api_key = "Hello"
order = ioka_python.Order().retrieve("order_123")
print(order.amount)