SDK
Supports multiple programming languages and provides SDK
- Python
- Rust
- Go
- Node.js
- Java
- C/C++
LongPort OpenAPI SDK for Python
https://github.com/longportapp/openapi/tree/master/python
Install SDK
You can install the SDK via Pip, or directly visit the PyPI page to download.
$ pip install longport
NOTE: In macOS system, the
pip
command default is Python 2. You may usepip3
for use Python 3 version of PyPI.
API Documents
LongPort OpenAPI SDK for Rust
https://github.com/longportapp/openapi/tree/master/rust
Install SDK
Add the following line to your Cargo.toml
file
[dependencies]
longport = "1.0.0"
https://crates.io/crates/longport
API Documents
LongPort OpenAPI SDK for Go
https://github.com/longportapp/openapi-go
Get SDK for Go
Go version >= 1.17
$ go get github.com/longportapp/openapi-go
LongPort OpenAPI SDK for Node.js
https://github.com/longportapp/openapi/tree/master/nodejs
Install SDK
You can install the SDK via Npm.
$ npm install longport --save
https://www.npmjs.com/package/longport
API Documents
LongPort OpenAPI SDK for Java
https://github.com/longportapp/openapi/tree/master/java
Install SDK
Add the following line to your pom.xml
file
<dependency>
<groupId>io.github.longportapp</groupId>
<artifactId>openapi-sdk</artifactId>
<version>LATEST</version>
</dependency>
https://search.maven.org/artifact/io.github.longportapp/openapi
API Documents
LongPort OpenAPI SDK for C/C++
https://github.com/longportapp/openapi/tree/master/cpp