| Name | yayawallet-python-sdk JSON |
| Version |
1.7.0
JSON |
| download |
| home_page | None |
| Summary | None |
| upload_time | 2025-09-10 05:35:29 |
| maintainer | None |
| docs_url | None |
| author | YaYa Wallet |
| requires_python | None |
| license | None |
| keywords |
|
| VCS |
|
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# yaya-python-sdk
This is a Python SDK package for handling API integration on merchant application.
# Installation
To install the sdk to your python based application, add
```
yayawallet-python-sdk==VERSION
```
to the requirements.txt file on your python project. Then run 'pip install -r requirements.txt'.
# Environment
The sdk expects api credentials to be provided by the user. To set it up, you need to create a .env file and add the following environment variables:
```
YAYA_API_URL=https://yayawallet.com/api/en
YAYA_API_PATH=/api/en
YAYA_API_KEY=your_yayawallet_api_key
YAYA_API_SECRET=your_yayawallet_api_secret
```
You can find the last two credentials on https://yayawallet.com/en/profile/settings, after you logged in to your account on a browser.
# How to use?
This sdk provides functions that will call different apis available on YaYa's system. Here is how you can call ```getTransactionListByUser``` function:
```
from adrf.decorators import api_view
from rest_framework.response import Response
from yayawallet_python_sdk.api import transaction
@api_view(['GET'])
async def proxy_get_transaction_list_by_user(request):
response = await transaction.get_transaction_list_by_user(None)
return Response(response)
```
You can get the list of services available on ```yayawallet_python_sdk/api``` folder on this repo.
Raw data
{
"_id": null,
"home_page": null,
"name": "yayawallet-python-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "YaYa Wallet",
"author_email": "contact@yayawallet.com",
"download_url": "https://files.pythonhosted.org/packages/c8/76/f036385dcafdbfa2a85665f09d32a2c50a7c97ea1864919c1f7a714d73a0/yayawallet_python_sdk-1.7.0.tar.gz",
"platform": null,
"description": "# yaya-python-sdk\nThis is a Python SDK package for handling API integration on merchant application.\n\n# Installation\nTo install the sdk to your python based application, add\n```\nyayawallet-python-sdk==VERSION\n```\nto the requirements.txt file on your python project. Then run 'pip install -r requirements.txt'.\n\n# Environment\nThe sdk expects api credentials to be provided by the user. To set it up, you need to create a .env file and add the following environment variables:\n```\nYAYA_API_URL=https://yayawallet.com/api/en\nYAYA_API_PATH=/api/en\nYAYA_API_KEY=your_yayawallet_api_key\nYAYA_API_SECRET=your_yayawallet_api_secret\n```\n\nYou can find the last two credentials on https://yayawallet.com/en/profile/settings, after you logged in to your account on a browser.\n\n# How to use?\nThis sdk provides functions that will call different apis available on YaYa's system. Here is how you can call ```getTransactionListByUser``` function:\n```\nfrom adrf.decorators import api_view\nfrom rest_framework.response import Response\nfrom yayawallet_python_sdk.api import transaction\n\n@api_view(['GET'])\nasync def proxy_get_transaction_list_by_user(request):\n response = await transaction.get_transaction_list_by_user(None)\n return Response(response)\n```\n\nYou can get the list of services available on ```yayawallet_python_sdk/api``` folder on this repo.\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "1.7.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "097e5a852ddb97f086d1ce12d6e51b6bea31ca3235cfc93055ba6f9743b5be23",
"md5": "1674ac962e3d379ec85305c9ce30c95a",
"sha256": "2f0e4444d69f3b85921bf90720472e64c324ccad72f19fc5679d909c856c535f"
},
"downloads": -1,
"filename": "yayawallet_python_sdk-1.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1674ac962e3d379ec85305c9ce30c95a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17874,
"upload_time": "2025-09-10T05:35:27",
"upload_time_iso_8601": "2025-09-10T05:35:27.585300Z",
"url": "https://files.pythonhosted.org/packages/09/7e/5a852ddb97f086d1ce12d6e51b6bea31ca3235cfc93055ba6f9743b5be23/yayawallet_python_sdk-1.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c876f036385dcafdbfa2a85665f09d32a2c50a7c97ea1864919c1f7a714d73a0",
"md5": "81e947d99bea660270b1e862b11b82be",
"sha256": "ad5813debbc65fc53eb0115dddec256fa9eb32c0c5478ea1376411fdd395a139"
},
"downloads": -1,
"filename": "yayawallet_python_sdk-1.7.0.tar.gz",
"has_sig": false,
"md5_digest": "81e947d99bea660270b1e862b11b82be",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10084,
"upload_time": "2025-09-10T05:35:29",
"upload_time_iso_8601": "2025-09-10T05:35:29.109025Z",
"url": "https://files.pythonhosted.org/packages/c8/76/f036385dcafdbfa2a85665f09d32a2c50a7c97ea1864919c1f7a714d73a0/yayawallet_python_sdk-1.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-10 05:35:29",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "yayawallet-python-sdk"
}