{"id":16212769,"url":"https://github.com/rhymiz/python-mope","last_synced_at":"2025-03-19T09:30:58.633Z","repository":{"id":43006836,"uuid":"244204696","full_name":"rhymiz/python-mope","owner":"rhymiz","description":"A client library for interacting with Mopé","archived":false,"fork":false,"pushed_at":"2024-03-25T03:13:23.000Z","size":81,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T07:18:55.873Z","etag":null,"topics":["api","client","hakrinbank","merchant","mope","python","suriname","webshop"],"latest_commit_sha":null,"homepage":"https://mope.sr","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhymiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-01T18:47:51.000Z","updated_at":"2024-02-21T12:50:30.000Z","dependencies_parsed_at":"2022-09-26T19:33:22.718Z","dependency_job_id":"6eb642a1-4b53-4be7-8ece-0e1ffb83ff8d","html_url":"https://github.com/rhymiz/python-mope","commit_stats":{"total_commits":39,"total_committers":2,"mean_commits":19.5,"dds":0.05128205128205132,"last_synced_commit":"d277afc0dd5ff2bb885cfe3bdf653a1c33e92383"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymiz%2Fpython-mope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymiz%2Fpython-mope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymiz%2Fpython-mope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymiz%2Fpython-mope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhymiz","download_url":"https://codeload.github.com/rhymiz/python-mope/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982141,"owners_count":20378605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","client","hakrinbank","merchant","mope","python","suriname","webshop"],"created_at":"2024-10-10T10:53:31.741Z","updated_at":"2025-03-19T09:30:58.352Z","avatar_url":"https://github.com/rhymiz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![build](https://github.com/rhymiz/python-mope/workflows/build/badge.svg)\n[![downloads](https://pepy.tech/badge/python-mope)](https://pepy.tech/project/python-mope)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n# Python Mopé\nClient library for Mopé by Hakrinbank\n\n### Token acquisition and API Docs\n- [API Docs](https://api.mope.sr/integration/doc)\n- Instructions for [acquiring a token](https://drive.google.com/file/d/10fWqgpl2Ip9JIacl0pwzUDi_HV6WLbCi/view?usp=sharing)\n\n\n### Requirements\n- Python \u003e= 3.8,\u003c4\n- Mopé API Token\n\n### Getting Started\nFirst, install from PyPi by running `pip install python-mope`\n\nExample usage:\n\n```python\nfrom mope import Mope\n\nmope = Mope(token='test_123')\nmope.shop.get_payment_request(payment_id='123')\n```\n\n### Resources\n#### shop\n\n*Methods*\n\n##### `shop.create_payment_request`\n\n| Argument   | Type                | Required |\n| ---        |---                  | ---      |\n|amount      | int                 | yes      |\n|description | string              | yes      |\n|order_id    | string              | yes      |\n|currency    | enum (USD, SRD, EU) | yes      | \n|redirect_url| string              | yes      |\n\n\nreturn type: `mope.models.payments.CreatePaymentResponse`\n\n##### `shop.get_payment_request`\n\n| Argument  | Type   | Required |\n|---        |---     |---       |\n|payment_id | string | yes      |\n\n\nreturn type: `mope.models.payments.PaymentRequest`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhymiz%2Fpython-mope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhymiz%2Fpython-mope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhymiz%2Fpython-mope/lists"}