SDK
Supports multiple programming languages and provides SDK
The SDK package has been renamed from longport to longbridge. The old longport package is deprecated. If you were previously using longport, please uninstall it before installing the new package.
https://github.com/longbridge/openapi/tree/master/python
You can install the SDK via Pip, or directly visit the PyPI page to download.
$ pip install longbridgeNOTE: In macOS system, the
pipcommand default is Python 2. You may usepip3for use Python 3 version of PyPI.
https://github.com/longbridge/openapi/tree/master/nodejs
You can install the SDK via Npm.
$ npm install longbridge --savehttps://www.npmjs.com/package/longbridge
https://github.com/longbridge/openapi/tree/master/rust
Add the following line to your Cargo.toml file
[dependencies]
longbridge = "4.0.5"https://crates.io/crates/longbridge
https://github.com/longbridge/openapi/tree/master/java
Add the following line to your pom.xml file
<dependency>
<groupId>io.github.longbridge</groupId>
<artifactId>openapi-sdk</artifactId>
<version>4.0.5</version>
</dependency>https://search.maven.org/artifact/io.github.longbridge/openapi
https://github.com/longbridge/openapi-go
In your project directory, run:
$ go get github.com/longbridge/openapi-gohttps://pkg.go.dev/github.com/longbridge/openapi-go
https://github.com/longbridge/openapi/tree/master/cpp