PayPro provides a Python client that you can use to connect with the PayPro API. The client is opensource and the source code can be found on GitHub.
The installation of the Python client goes through PyPi.
You can install the package through
pip like this:
$ pip install paypro
If you use a Pipfile you can add this:
[[source]] url = 'https://pypi.python.org/simple' verify_ssl = true [packages] paypro = '*'
Then run Pipenv install:
$ pipenv install
In order to use the PayPro client put this on top of your file.
from paypro import Client
You should now be able to create a
Client object in your code.
client = Client('API_KEY')
You can now use this client object to create API calls to the PayPro API.
Would you like additional support or do you have questions? Contact us.