For AI agents: visit https://docs.dapi.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Python Library Quickstart
- First install the library.
$ pip install dapi-python
- Create a Dapi client instance with your App Secret.
from dapi import DapiClient
client = DapiClient(app_secret="YOUR_APP_SECRET")
- Now you can use any of the functions of the
DapiApp instance, myApp. Here is an example for getAccounts.
from dapi import DapiClient
client = DapiClient(app_secret="YOUR_APP_SECRET")
accounts_resp = client.data.getAccounts("YOUR_ACCESS_TOKEN", "YOUR_USER_SECRET")