Skip to main content

Asynchronous MEXC API wrapper

Project description

aiomexc

Pretty and fully asynchronous wrapper for MEXC API.

Using with HTTP API

You can start use wrapper very fast.

  • Import and initialize client.
from aiomexc import MexcClient
client = MexcClient()
  • Call needed method and get response as dataclass model.
await client.get_ticker_price(symbol="BTCUSDT")
  • To call methods that requires auth (e.g. open order), you can pass your credentils globally to client instance.
from aiomexc import MexcClient, Credentials
client = MexcClient(credentials=Credentials(access_key="mx0.....", secret_key="......"))

Or if you need to make requests from different API credentials you can pass credentials to every method calls.

await client.query_order(credentials=Credentials(access_key="mx0.....", secret_key="......"))

TODO:

  • Support all methods

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiomexc-0.1.6.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiomexc-0.1.6-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file aiomexc-0.1.6.tar.gz.

File metadata

  • Download URL: aiomexc-0.1.6.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for aiomexc-0.1.6.tar.gz
Algorithm Hash digest
SHA256 8e8b5e07bc5c839fbf994e7365cc02f5c00a77bd35868be6e1ad8e77a0b9bb81
MD5 3fc8b371369c69e65c99391e00d0fbf5
BLAKE2b-256 de3c8d169b6cd3d2b15a0ee7503e840b3f095d141ce61cf101b2ca15dd5943eb

See more details on using hashes here.

File details

Details for the file aiomexc-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: aiomexc-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for aiomexc-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 610431126126a351a2d1ad88936c5eb45758a0fb84c77c33f745f57d22219adb
MD5 69cb65b50cbcb13c7d75937f57094860
BLAKE2b-256 511307e98c03afa9d09806d16e874c8fef850e56b00070624846d5dec0e85abc

See more details on using hashes here.

Supported by

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