Changelog

Python Library Quickstart

Configure Project

  1. First install the library.
$ pip install dapi-python
  1. Create a Dapi client instance with your App Secret.
from dapi import DapiClient

client = DapiClient(app_secret="YOUR_APP_SECRET")
  1. 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")