Skip to main content

A sample Python project

Project description

Python bitget API Library

bitget is a cryptocurrency derivatives exchange.

This is a wrapper around the Bitget API as described on Bitget, including all features the API provides using clear and readable objects, both for the REST as the websocket API.

Install

Exécute pip commande:

pip install PybitgetApi

Usage

Change your API KEY and your SECRET KEY.

Restful Api Sample Code

from PybitgetApi import Client

api_key = "your-api-key"
api_secret = "your-secret-key"
api_passphrase = "your-api-passphrase"

client = Client(api_key, api_secret, passphrase=api_passphrase)
result = client.mix_get_accounts(productType='UMCBL')
print(result)

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

PyBitgetApi-1.1.8.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

PyBitgetApi-1.1.8-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file PyBitgetApi-1.1.8.tar.gz.

File metadata

  • Download URL: PyBitgetApi-1.1.8.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for PyBitgetApi-1.1.8.tar.gz
Algorithm Hash digest
SHA256 c8e409c6b3726e28e48a54a5db1970a343135107c59aa08b02cea8780b9bebe7
MD5 b720533f18dd18692dbb257bb1508423
BLAKE2b-256 adc6cd9fc3798a4cc3e12573e644b80906fc3bc75a91e66f9b647abc8d67dd0e

See more details on using hashes here.

File details

Details for the file PyBitgetApi-1.1.8-py3-none-any.whl.

File metadata

  • Download URL: PyBitgetApi-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for PyBitgetApi-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bc4323259addeee15f10dab05db0b4a1c1bae7b4b20f40970677284067073aef
MD5 4e97ef8e4114733af91208e9d9de9b81
BLAKE2b-256 03060d2b4d59ea303f10fa9dd9f67de0213503efcd6228e4e6b8196509400003

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page