Skip to content

muradlansa/thawani-python

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages