SQUAD PYTHON
A Python wrapper for Squadco API
The api call descriptions are from the official documentation.
Getting Started
To install the wrapper, enter the following into the terminal.
pip install squadco
Every api call requires this secret_key. Make sure to use this key when getting started.
from squad import Squad
client = Squad("SECRET_KEY")
If you want to use the Live Endpoint, pass the test=False in the client initialization.
from squad import Squad
client = Squad("SECRET_KEY",test=False)
Sample Usage
from squad import Squad
client = Squad("SECRET_KEY")
verify_transaction = client.payments.verify_transaction(txn_ref="SQDEBU6383961457377100021")
print(verify_transaction)