Skip to content

geeshta/gopay_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoPay Service

Interface for interacting with the GoPay REST API.

Installation

Requires Python >= 3.7

  • Create a virtual env: python -m venv venv
  • Activate it: source venv/bin/activate
  • Install dependencies: pip install -r requirements.txt
  • [Optional] to make the caching example work, install redis-py: pip install redis

Usage

  • Using the Gopay class, which does a lot of things for you (see example.py)
  • Using the rest module, which is a low-level wrapper around the GoPay REST API (see example_rest.py)

To reuse the keep the Gopay object instance between multiple request, you can pickle and cache it. See example_caching.py, which shows caching in Redis.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages