aiomexc


Nameaiomexc JSON
Version 0.2.17 PyPI version JSON
download
home_pageNone
SummaryAsynchronous MEXC API wrapper
upload_time2025-07-18 23:33:33
maintainerNone
docs_urlNone
authorSheldy
requires_python>=3.11
licenseNone
keywords mexc api client wrapper asyncio
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # aiomexc

Pretty and fully asynchronous wrapper for <a href="https://mexcdevelop.github.io/apidocs/spot_v3_en">MEXC API</a>.

## Using with HTTP API
You can start use wrapper very fast.

### Install

```sh
pip install aiomexc
```

You can install with protobuf dependencies to use WebSocket API

```sh
pip install aiomexc[ws]
```

- Import and initialize client.

```python
from aiomexc import MexcClient

client = MexcClient()
```

- Call needed method and get response as dataclass model.

```python
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.

```python
from aiomexc import 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.

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

## TODO:
 - Support all methods

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aiomexc",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "mexc, api, client, wrapper, asyncio",
    "author": "Sheldy",
    "author_email": "Sheldy <chikibamtioma@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/56/1d/3a6a2e3de17df88822e333423257323c84c1106ddda7059a4d10a6fa16bf/aiomexc-0.2.17.tar.gz",
    "platform": null,
    "description": "# aiomexc\n\nPretty and fully asynchronous wrapper for <a href=\"https://mexcdevelop.github.io/apidocs/spot_v3_en\">MEXC API</a>.\n\n## Using with HTTP API\nYou can start use wrapper very fast.\n\n### Install\n\n```sh\npip install aiomexc\n```\n\nYou can install with protobuf dependencies to use WebSocket API\n\n```sh\npip install aiomexc[ws]\n```\n\n- Import and initialize client.\n\n```python\nfrom aiomexc import MexcClient\n\nclient = MexcClient()\n```\n\n- Call needed method and get response as dataclass model.\n\n```python\nawait client.get_ticker_price(symbol=\"BTCUSDT\")\n```\n\n- To call methods that requires auth (e.g. open order), you can pass your credentils globally to client instance.\n\n```python\nfrom aiomexc import Credentials\n\nclient = MexcClient(credentials=Credentials(access_key=\"mx0.....\", secret_key=\"......\"))\n```\n\nOr if you need to make requests from different API credentials you can pass credentials to every method calls.\n\n```python\nawait client.query_order(credentials=Credentials(access_key=\"mx0.....\", secret_key=\"......\"))\n```\n\n## TODO:\n - Support all methods\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Asynchronous MEXC API wrapper",
    "version": "0.2.17",
    "project_urls": {
        "Documentation": "https://github.com/sheldygg/aiomexc",
        "Homepage": "https://github.com/sheldygg/aiomexc",
        "Source": "https://github.com/sheldygg/aiomexc",
        "Tracker": "https://github.com/sheldygg/aiomexc/issues"
    },
    "split_keywords": [
        "mexc",
        " api",
        " client",
        " wrapper",
        " asyncio"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "db01cf9adfcc9f57646e473c396f631403c441c63ec65c20c400b9479fa6ca88",
                "md5": "6fab7d548e749a2c1fb4d588381d28c9",
                "sha256": "15909acc4a5024c71f8fc6d4d9b8e7381571ca3b38689a75417ec3b61464c81e"
            },
            "downloads": -1,
            "filename": "aiomexc-0.2.17-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6fab7d548e749a2c1fb4d588381d28c9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 38585,
            "upload_time": "2025-07-18T23:33:32",
            "upload_time_iso_8601": "2025-07-18T23:33:32.170591Z",
            "url": "https://files.pythonhosted.org/packages/db/01/cf9adfcc9f57646e473c396f631403c441c63ec65c20c400b9479fa6ca88/aiomexc-0.2.17-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "561d3a6a2e3de17df88822e333423257323c84c1106ddda7059a4d10a6fa16bf",
                "md5": "a45f951223605f2e7e0643b0c23a981a",
                "sha256": "adf3e7dba8fdf6bf633759326c1d12f4561ce3c31ab5eeb4b589937a581320d7"
            },
            "downloads": -1,
            "filename": "aiomexc-0.2.17.tar.gz",
            "has_sig": false,
            "md5_digest": "a45f951223605f2e7e0643b0c23a981a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 21122,
            "upload_time": "2025-07-18T23:33:33",
            "upload_time_iso_8601": "2025-07-18T23:33:33.291252Z",
            "url": "https://files.pythonhosted.org/packages/56/1d/3a6a2e3de17df88822e333423257323c84c1106ddda7059a4d10a6fa16bf/aiomexc-0.2.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-18 23:33:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sheldygg",
    "github_project": "aiomexc",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "aiomexc"
}
        
Elapsed time: 0.80051s