An open API service indexing awesome lists of open source software.

https://github.com/othreecodes/interswitch-python-sdk


https://github.com/othreecodes/interswitch-python-sdk

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

#Description
Interswitch python client lib

# installation
```
$ pip install -e git@github.com:othreecodes/interswitch-python-sdk.git
```
# Usage
```python

api = InterSwitchAPI(
client_secret="FTbMeBD7MtkGBQJw1XoM74NaikuPL13Sxko1zb0DMjI=",
client_id="IKIAF6C068791F465D2A2AA1A3FE88343B9951BAC9C3",
env=Constants.ENV_SANDBOX,
terminal_id="3ERT0001",
)

result = api.get_billers()

print(result)
```

# Run tests
```
$ pytest interswitch/test_interswitch.py
```
See `test_interswitch.py` for more usages