File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- # thepeer python-sdk
1+ # Thepeer python-sdk
22
33![ example workflow] ( https://github.com/thepeerstack/python-sdk/actions/workflows/pytests.yml/badge.svg ) ![ PyPI - Downloads] ( https://img.shields.io/pypi/dm/pythepeer?style=flat-square ) ![ PyPI - License] ( https://img.shields.io/pypi/l/pythepeer ) ![ PyPI] ( https://img.shields.io/pypi/v/pythepeer ) ![ Codecov] ( https://img.shields.io/codecov/c/gh/E-wave112/py-thepeer?token=gYijsI9TCm )
44
@@ -14,14 +14,14 @@ pip install pythepeer
1414```
1515
1616## Usage
17- Instantiate the ThepeerInit class like so:
17+ Instantiate ``` Thepeer ``` class like so:
1818``` python
1919import thepeer
20- from thepeer.main import ThepeerInit
20+ from thepeer.main import Thepeer
2121
2222# create an instance of ThepeerInit class
2323
24- thepeer_instance = ThepeerInit (" YOUR_API_KEY_HERE" )
24+ thepeer_instance = Thepeer (" YOUR_API_KEY_HERE" )
2525
2626```
2727
Original file line number Diff line number Diff line change 1212
1313setup (
1414 name = "pythepeer" ,
15- version = "0.0.2 " ,
15+ version = "0.0.3 " ,
1616 description = "official python sdk for interacting with thepeer payment processing \
1717 infrastructure" ,
1818 author = "Osagie Iyayi" ,
Original file line number Diff line number Diff line change 1212from utils .exceptions .handleErrors import SwitchErrorStates # noqa: E402
1313
1414
15- class ThepeerInit :
15+ class Thepeer :
1616 def __init__ (self , secret ):
1717 # pass a default value for the url
1818 self .url = BASE_URL
Original file line number Diff line number Diff line change 11import unittest
22from thepeer import main # type: ignore
33
4- thepeer_test_suites = main .ThepeerInit ("pssk_test_vwww1yvvpymamtut26x5tvpx1znrcmeis2k0kvcmwzjax" )
4+ thepeer_test_suites = main .Thepeer ("pssk_test_vwww1yvvpymamtut26x5tvpx1znrcmeis2k0kvcmwzjax" )
55
66
77class ThePeerInitMethods (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments