A Python client for the Bitget API V2
Project description
Bitget API Client
A Python client for the Bitget API V2.
Installation
pip install bitget-api-client
Usage
import asyncio
from bitget_api_client.client import BitgetApiClient
async def main():
api_key = "YOUR_API_KEY"
secret_key = "YOUR_SECRET_KEY"
passphrase = "YOUR_PASSPHRASE"
client = BitgetApiClient(api_key, secret_key, passphrase)
# Example: Get server time
response = await client.common.get_server_time()
print(response)
# Example: Get spot ticker
# response = await client.spot.get_ticker_information(symbol="BTCUSDT")
# print(response)
if __name__ == "__main__":
asyncio.run(main())
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bitget_api_client-0.1.0.tar.gz.
File metadata
- Download URL: bitget_api_client-0.1.0.tar.gz
- Upload date:
- Size: 44.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5eb738dbe75f7f038b197db2caf20ce62fe3a2ea0087e136b3511164c9b90ce
|
|
| MD5 |
807c4ba3a1f9d9744cd2a57bb8a830fd
|
|
| BLAKE2b-256 |
4e2490de4590163b7eca5f129acf7c3e9f234d68542b46f91de7cafefa4091bf
|
Provenance
The following attestation bundles were made for bitget_api_client-0.1.0.tar.gz:
Publisher:
python-publish.yml on tty666/bitget_api_client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitget_api_client-0.1.0.tar.gz -
Subject digest:
e5eb738dbe75f7f038b197db2caf20ce62fe3a2ea0087e136b3511164c9b90ce - Sigstore transparency entry: 444189256
- Sigstore integration time:
-
Permalink:
tty666/bitget_api_client@41c5951f475840dd061dd600e30e557da4280795 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/tty666
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@41c5951f475840dd061dd600e30e557da4280795 -
Trigger Event:
release
-
Statement type:
File details
Details for the file bitget_api_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bitget_api_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6052e45819f3812af439495722c9ba041385782462c3c4098dc8de859e9958f
|
|
| MD5 |
2dbb5f0e0e43140706a2d6a1b7d7e01c
|
|
| BLAKE2b-256 |
d5c94b955813f0cd993eadda08f7384e219264148b1b2b4464cfb319cb0e3c30
|
Provenance
The following attestation bundles were made for bitget_api_client-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on tty666/bitget_api_client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitget_api_client-0.1.0-py3-none-any.whl -
Subject digest:
a6052e45819f3812af439495722c9ba041385782462c3c4098dc8de859e9958f - Sigstore transparency entry: 444189271
- Sigstore integration time:
-
Permalink:
tty666/bitget_api_client@41c5951f475840dd061dd600e30e557da4280795 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/tty666
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@41c5951f475840dd061dd600e30e557da4280795 -
Trigger Event:
release
-
Statement type: