SDK
Package Renamed
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.
Longbridge OpenAPI SDK for Python
https://github.com/longbridge/openapi/tree/master/python
Install SDK
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.
API Documents
Examples
Longbridge OpenAPI SDK for Node.js
https://github.com/longbridge/openapi/tree/master/nodejs
Install SDK
You can install the SDK via Npm.
$ npm install longbridge --savehttps://www.npmjs.com/package/longbridge
API Documents
Examples
Longbridge OpenAPI SDK for Rust
https://github.com/longbridge/openapi/tree/master/rust
Install SDK
Add the following line to your Cargo.toml file
[dependencies]
longbridge = "4.0.5"https://crates.io/crates/longbridge
API Documents
Examples
Longbridge OpenAPI SDK for Java
https://github.com/longbridge/openapi/tree/master/java
Install SDK
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
API Documents
Examples
Longbridge OpenAPI SDK for Go
https://github.com/longbridge/openapi-go
Install SDK
- Go version >= 1.17
In your project directory, run:
$ go get github.com/longbridge/openapi-gohttps://pkg.go.dev/github.com/longbridge/openapi-go
Examples
Longbridge OpenAPI SDK for C/C++
https://github.com/longbridge/openapi/tree/master/cpp
Download
API Documents
Examples
Footer placeholder — page-level footer/CTA lands in stage-2 composite port.