Socket
Socket
Sign inDemoInstall

python-mope

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    python-mope

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


Maintainers
1

Readme

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 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc