{"id":28370112,"url":"https://github.com/hamzzy/mono-python","last_synced_at":"2025-07-10T09:38:18.881Z","repository":{"id":44995702,"uuid":"325132980","full_name":"hamzzy/Mono-Python","owner":"hamzzy","description":"Mono API  with Python","archived":false,"fork":false,"pushed_at":"2022-01-14T21:34:22.000Z","size":5339,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T17:16:11.739Z","etag":null,"topics":["api-wrapper","mono","python","python-sdk"],"latest_commit_sha":null,"homepage":"","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/hamzzy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.MD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-28T22:47:10.000Z","updated_at":"2024-11-18T23:23:08.000Z","dependencies_parsed_at":"2022-09-24T21:50:57.137Z","dependency_job_id":null,"html_url":"https://github.com/hamzzy/Mono-Python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hamzzy/Mono-Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamzzy%2FMono-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamzzy%2FMono-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamzzy%2FMono-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamzzy%2FMono-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamzzy","download_url":"https://codeload.github.com/hamzzy/Mono-Python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamzzy%2FMono-Python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264559671,"owners_count":23628040,"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-wrapper","mono","python","python-sdk"],"created_at":"2025-05-29T06:08:14.933Z","updated_at":"2025-07-10T09:38:18.867Z","avatar_url":"https://github.com/hamzzy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyMono\npymono is a python wrapper for \u003ca href=\"https://mono.co\"\u003e Mono \u003c/a\u003e\n\n- Account\n- Transactions\n- Statements\n- Credits\n- Debits\n- Bvn Lookup\n\n\n## Getting Started\n\n- Register on \u003ca href=\"https://mono.co\"\u003e Mono \u003c/a\u003e  website and get your Authorization key.\n- Setup your mono connect with your mono public key\n- Set Your \"MONO-SEC-KEY\" env\n\n\n## Installing\n```python\n   pip install -U Py-Mono\n\n```\n\n\n# Usage\n\n## Environment Key\n```\nos.environ['MONO-SEC-KEY'] = \" \"\n```\n\n## Usage \n#### Import\n\n```python\n   from pymono import Mono\n```\n\n#### Exchange Key or Authenticaton\n\u003e Set your mono-code accpeted from mono-connect widget.\n\n```python\n   mono= Mono('mono-code')\n   (data,status) = mono.Auth()\n```\n#### User Id\n\u003e set the user id to get other function working\n```python\n   mono.SetUserId(data.get(\"id\"))\n```\n\n\n\n#### Account\n\n\u003e The user account details is returned\n\n\n```python\n   mono.getAccount()\n```\n\n#### Transactions\n\n\u003e    \n\n| params      | example\n| :---        |    :----:   \n| start       | \"1-10-2020\"\n| end         |  \"7-11-2020\"   \n|narration    | uber etc\n|types        | debit, credit\n| paginate    | true ,false\n```python\n   \n   #Get all the transactions without filter\n   mono.getTransactions()\n     \n   #Parameter accepted  to  filter  Transaction  \n   mono.getTransactions(start=\"\",end=\" \",narration=\"\",types=\"\",paginate=\"\")\n```\n\n\n#### Statement\n\n\u003e \u003cp\u003eThe user statement of account is returned\u003c/p\u003e\n\u003e \u003c/p\u003eIt accept parameter to filter statement\u003c/p\u003e\n\n\n| params      | example\n| :---        | :----:   \n| month       | last6month,last12month   \n| output      | json, pdf\n\n```python\n   mono.getStatement()  \n   # statement with filter\n   mono.getStatement(\"last12month\",\"pdf\")\n```\n\n#### Credits\n\u003e \u003cp\u003e get credits details if user\u003c/p\u003e\n```python\n   mono.getCredits()     \n```\n\n\n#### Debits\n\n```python\n   mono.getDebits()\n```\n\n#### Identity\n\n```python\n   mono.getIdentity()     \n```\n\n#### BVN Lookup\n| params      | example\n| :---        | :----:   \n| bvn         | 2256244 \n\n```python\n   mono.bvn_lookup(bvn)\n```\n\n## Sanbox to test  mono-connect\n\u003c!-- - React js   \u003ca href=\"https://codesandbox.io/s/laughing-wildflower-0te1o?file=/src/App.js\"\u003esandbox\u003c/a\u003e from Mono --\u003e\n  \n\u003c!-- ## Documentation \n* \u003ca href=\"https://hamzzy.github.io/Mono-Python/\"\u003ePymono Doc\u003c/a\u003e --\u003e\n\n\n\n## LICENSE\n\u003ca href=\"LICENSE.MD\"\u003eMIT LICENSE\u003c/a\u003e \n\n# Contribution  guides\n\n## Todo\n\n- [ ] Webhook Support\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamzzy%2Fmono-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamzzy%2Fmono-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamzzy%2Fmono-python/lists"}