跳轉到內容

SDK

支持多種主流編程語言,並提供 SDK

LongPort OpenAPI SDK for Python

https://github.com/longportapp/openapi/tree/master/python

安裝 SDK

你可以通過 Pip 安裝 SDK,或者直接訪問 PyPI 頁面來下載。

bash
$ pip install longport

如遇到網路安裝問題,可以嘗試:Aliyun PyPI 鏡像

bash
$ pip install longport -i https://mirrors.aliyun.com/pypi/simple

API 文檔