# SQUAD PYTHON
A Python wrapper for [Squadco API](https://squadinc.gitbook.io/squad-api-documentation/)
The api call descriptions are from the official documentation.
## Getting Started
To install the wrapper, enter the following into the terminal.
```bash
pip install squadco
```
Every api call requires this secret_key. Make sure to use this key when getting started.
```python
from squad import Squad
client = Squad("SECRET_KEY")
```
If you want to use the Live Endpoint, pass the test=False in the client initialization.
```python
from squad import Squad
client = Squad("SECRET_KEY",test=False)
```
## Sample Usage
```python
from squad import Squad
client = Squad("SECRET_KEY")
verify_transaction = client.payments.verify_transaction(txn_ref="SQDEBU6383961457377100021")
print(verify_transaction)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/joey1123455/squad-py.git",
"name": "squadco",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "squadco payment gateway,squadco python package,squad",
"author": "Uche David, Joseph Folayan, Peter Adetunji",
"author_email": "debugtitan.hub@outlook.com, folayanjoey@gmail.com, peteradetunji30@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2e/2f/fb0419277e99d83a3f39d039091ed4476437c754be57a686f4697a84a432/squadco-1.0.5.tar.gz",
"platform": null,
"description": "# SQUAD PYTHON\r\n\r\nA Python wrapper for [Squadco API](https://squadinc.gitbook.io/squad-api-documentation/)\r\n\r\nThe api call descriptions are from the official documentation.\r\n\r\n\r\n## Getting Started\r\n\r\nTo install the wrapper, enter the following into the terminal.\r\n```bash\r\npip install squadco\r\n```\r\n\r\nEvery api call requires this secret_key. Make sure to use this key when getting started. \r\n```python\r\nfrom squad import Squad\r\nclient = Squad(\"SECRET_KEY\")\r\n\r\n```\r\n\r\nIf you want to use the Live Endpoint, pass the test=False in the client initialization.\r\n```python\r\nfrom squad import Squad\r\nclient = Squad(\"SECRET_KEY\",test=False)\r\n\r\n```\r\n\r\n## Sample Usage\r\n\r\n```python\r\nfrom squad import Squad\r\nclient = Squad(\"SECRET_KEY\")\r\n\r\nverify_transaction = client.payments.verify_transaction(txn_ref=\"SQDEBU6383961457377100021\")\r\nprint(verify_transaction)\r\n```\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python API Wrapper for Squadco.com Payment services",
"version": "1.0.5",
"project_urls": {
"Homepage": "https://github.com/joey1123455/squad-py.git"
},
"split_keywords": [
"squadco payment gateway",
"squadco python package",
"squad"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2e2ffb0419277e99d83a3f39d039091ed4476437c754be57a686f4697a84a432",
"md5": "21d96112dcb109db0d5f2543adb4db64",
"sha256": "0a3357205471f6b4c06a2d22e138e7d6b0154a7e7d75a4fdf96a95fc1239b085"
},
"downloads": -1,
"filename": "squadco-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "21d96112dcb109db0d5f2543adb4db64",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14889,
"upload_time": "2024-01-02T16:17:40",
"upload_time_iso_8601": "2024-01-02T16:17:40.802094Z",
"url": "https://files.pythonhosted.org/packages/2e/2f/fb0419277e99d83a3f39d039091ed4476437c754be57a686f4697a84a432/squadco-1.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-02 16:17:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "joey1123455",
"github_project": "squad-py",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "requests",
"specs": []
}
],
"lcname": "squadco"
}