# azpython
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
Official Python3 API connector for AZ.COM's HTTP APIs.
## Table of Contents
- [About](#about)
- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)
- [Contact](#contact)
## About
Put simply, `azpython` (Python + AZ.COM) is the official lightweight one-stop-shop module for the AZ.COM HTTP APIs.
## Installation
`azpython` requires Python 3.9.1 or higher. The module can be installed manually or via [PyPI](https://pypi.org/project/azpython/) with `pip`:
```
pip install azpython
```
## Usage
You can retrieve a specific spot market like so:
```python
from azpython.spot import Spot
```
Create an HTTP session and connect via WebSocket for Inverse on mainnet:
```python
az = Spot(host="https://s-api.myaztests.com", access_key='', secret_key='')
```
Information can be sent to, or retrieved from, the AZ.COM APIs:
```python
print(az.balance("usdt"))
```
You can retrieve a specific future market like so:
```python
from azpython.perp import Perp
```
Create an HTTP session and connect via WebSocket for Inverse on mainnet:
```python
az = Perp(host="https://f-api.myaztests.com", access_key='', secret_key='')
```
Information can be sent to, or retrieved from, the AZ.COM APIs:
```python
print(az.get_account_capital())
```
## Examples
You can find more examples in the project folder /examples/
## Contact
You can reach out for support on the [AZAPI Telegram](https://localhost) group chat.
Raw data
{
"_id": null,
"home_page": "https://github.com/selinayiya/api-python-demo",
"name": "azpython",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "az api connector",
"author": "az",
"author_email": "az@az.com",
"download_url": "https://files.pythonhosted.org/packages/62/3a/b76e3b653c88b0c6b4d06a1e674f15fd5ded4cdb5e6fd2e503a7a3433f74/azpython-0.1.1.tar.gz",
"platform": null,
"description": "# azpython\n <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n [](#contributors-)\n <!-- ALL-CONTRIBUTORS-BADGE:END -->\n \n Official Python3 API connector for AZ.COM's HTTP APIs.\n \n ## Table of Contents\n \n - [About](#about)\n - [Installation](#installation)\n - [Usage](#usage)\n - [Examples](#examples)\n - [Contact](#contact)\n \n ## About\n Put simply, `azpython` (Python + AZ.COM) is the official lightweight one-stop-shop module for the AZ.COM HTTP APIs. \n \n ## Installation\n `azpython` requires Python 3.9.1 or higher. The module can be installed manually or via [PyPI](https://pypi.org/project/azpython/) with `pip`:\n ```\n pip install azpython\n ```\n \n ## Usage\n You can retrieve a specific spot market like so:\n ```python\n from azpython.spot import Spot\n ```\n \n Create an HTTP session and connect via WebSocket for Inverse on mainnet:\n ```python\n az = Spot(host=\"https://s-api.myaztests.com\", access_key='', secret_key='')\n ```\n \n Information can be sent to, or retrieved from, the AZ.COM APIs:\n ```python\n print(az.balance(\"usdt\"))\n ```\n \n You can retrieve a specific future market like so:\n ```python\n from azpython.perp import Perp\n ```\n \n Create an HTTP session and connect via WebSocket for Inverse on mainnet:\n ```python\n az = Perp(host=\"https://f-api.myaztests.com\", access_key='', secret_key='')\n ```\n \n Information can be sent to, or retrieved from, the AZ.COM APIs:\n ```python\n print(az.get_account_capital())\n ```\n \n ## Examples\n You can find more examples in the project folder /examples/\n \n ## Contact\n You can reach out for support on the [AZAPI Telegram](https://localhost) group chat.\n ",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Python3 AZ.COM HTTP API Connector",
"version": "0.1.1",
"project_urls": {
"Download": "https://github.com/selinayiya/api-python-demo/archive/refs/tags/V0.1.1.tar.gz",
"Homepage": "https://github.com/selinayiya/api-python-demo"
},
"split_keywords": [
"az",
"api",
"connector"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "623ab76e3b653c88b0c6b4d06a1e674f15fd5ded4cdb5e6fd2e503a7a3433f74",
"md5": "451253bf086a1a8555f046615061e5eb",
"sha256": "2ab0c9ac92cdab8bf2e16fb9d076facf140afb9a451ac2abf6d98451240ab082"
},
"downloads": -1,
"filename": "azpython-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "451253bf086a1a8555f046615061e5eb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 18039,
"upload_time": "2025-10-18T11:10:14",
"upload_time_iso_8601": "2025-10-18T11:10:14.191020Z",
"url": "https://files.pythonhosted.org/packages/62/3a/b76e3b653c88b0c6b4d06a1e674f15fd5ded4cdb5e6fd2e503a7a3433f74/azpython-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-18 11:10:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "selinayiya",
"github_project": "api-python-demo",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "requests",
"specs": [
[
">=",
"2.22.0"
]
]
}
],
"lcname": "azpython"
}