Thawani Python Client
Project description
Thawani Python Client
Python bindings for interacting with the thawani API
This is primarily meant for merchants who wish to perform interactions with the thawani API programatically.
Installation
$ pip install thawani
Usage
You need to setup your key and secret using the following: You can find your API keys at https://thawani.om//#/app/keys.
import thawani
client = thawani.Client(secret_key="<Secret_KEY>",publishable_key="<Publishable_KEY>")
App Details
After setting up client, you can set your app details before making any request to thawani using the following:
client.set_app_details({"title" : "<YOUR_APP_TITLE>", "version" : "<YOUR_APP_VERSION>"})
For example, you can set the title to Django
and version to 1.8.17
. Please ensure
that both app title and version are strings.
Supported Resources
Bugs? Feature requests? Pull requests?
All of those are welcome. You can file issues or submit pull requests in this repository.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file thawani-1.1.0.tar.gz
.
File metadata
- Download URL: thawani-1.1.0.tar.gz
- Upload date:
- Size: 36.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e44c244b667d15cc218fa645d1df5ef4f44cda9d2032ecfba44d0027b82c41e4 |
|
MD5 | bf8f2272314de18451f01711ca74341e |
|
BLAKE2b-256 | 772221d7a05e0170f6017fe72ce2b6fbc106d319226ae991739c218766c9cafd |