🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

python-mope

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-mope

A client library for interacting with the Mopé Web Shop API

0.1.0
PyPI
Maintainers
1

build downloads Code style: black

Python Mopé

Client library for Mopé by Hakrinbank

Token acquisition and API Docs

Requirements

  • Python >= 3.7,<=3.11
  • requests (currently not sure what the min required version is)
  • Mopé API Tokens

Getting Started

First, you can install from PyPi by running pip install python-mope

Example usage:

from mope import Mope

mope = Mope(token='test_123')
mope.shop.get_payment_request(payment_id='123')

Resources

shop

Methods

shop.create_payment_request
ArgumentTypeRequired
amountintyes
descriptionstringyes
order_idstringyes
currencyenum (USD, SRD, EU)yes
redirect_urlstringyes

return type: mope.models.payments.CreatePaymentResponse

shop.get_payment_request
ArgumentTypeRequired
payment_idstringyes

return type: mope.models.payments.PaymentRequest

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts