bKashWebhook-0.1.1


توضیحات

This package will help to receive bKash Webhook payment payload
ویژگی مقدار
سیستم عامل OS Independent
نام فایل bKashWebhook-0.1.1
نام bKashWebhook
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Vubon Roy
ایمیل نویسنده vubon.roy@gmail.com
آدرس صفحه اصلی https://github.com/vubon/bkash-webhook
آدرس اینترنتی https://pypi.org/project/bKashWebhook/
مجوز MIT
# bKash Webhook (Merchant Account) [![PyPI version](https://badge.fury.io/py/bKashWebhook.svg)](https://badge.fury.io/py/bKashWebhook) ![Coverage](https://raw.githubusercontent.com/vubon/bkash-webhook/master/docs/coverage.svg) [![GitHub version](https://badge.fury.io/gh/vubon%2Fbkash-webhook.svg)](https://badge.fury.io/gh/vubon%2Fbkash-webhook) ## Introduction This package will help to receive Webhook notification from bKash end and the user can use this package of any kind of Python Web Frameworks.<br/> **Note: Using area - Only Bangladesh** **If bKash complains about this package.Such as Logo and others. The author will remove the package from PyPi and Github.** ![Coverage](https://raw.githubusercontent.com/vubon/bkash-webhook/master/docs/BKash.svg) ## Quickstart ### Installation Install from pypi: ```shell script pip install bKashWebhook ``` ## Security bKashWebhook package does not provide any kind of security. But payload content security handle by **bKash** <br/> N.B. You need to secure your API endpoint yourself. ## Example ```python import json from bkash_webhook import BkashWebhookListener bkash = BkashWebhookListener(json.loads("bKash Webhook Payload")) res = bkash.bkash_response_process() print(res) # You will get bKash Payload if everything is okay. ``` To learn more [Documentation](./docs/GUIDE.md). ## Changelog See [Changelog](CHANGELOG.md) ## Trade off - Currently, Coverage result is 98%. Two test cases don't cover and those test cases are not possible to cover. These test cases do not impact to core response. So don't worry. ValidationError Exception would manage that type error. ## License MIT ## Changelog All notable changes to this project will be documented in this file. <br/> The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## v0.0.2 - 2020-05-30 - Added PyPI badge - Added documentation link into setup.py ## V0.1.0 - 2020-06-01 - BKash class is deprecated - Added a new class. That's called BkashWebhookListener. BKash class will completely removed from v1.0.0 - Update README and documents ## v0.1.1 - 2020-06-01 - Refactor code docs


نیازمندی

مقدار نام
- requests
- pyOpenSSL
- responses


نحوه نصب


نصب پکیج whl bKashWebhook-0.1.1:

    pip install bKashWebhook-0.1.1.whl


نصب پکیج tar.gz bKashWebhook-0.1.1:

    pip install bKashWebhook-0.1.1.tar.gz