-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Ibrahim hamzat edited this page Jan 1, 2021
·
1 revision
Welcome to the Mono-Python wiki!
Py-mono is the python API wrapper for mono.co
from pymono import Mono mono= Mono('mono-code')
data,status = mono.Auth()set the user id to get other function working
mono.SetUserId(data.get('id))The user statement of account is returned
| params | example |
|---|---|
| month | last6month,last12month |
| output | json, pdf |
mono.getStatement() The user account details is returned
mono.getAccount()return user transaction all transactions without filter return all the
| params | example |
|---|---|
| start | "1-10-2020" |
| end | "7-11-2020" |
| narration | uber etc |
| types | debit, credit |
| paginate | true ,false |
#Get all the transactions without filter
mono.getTransactions()
#Parameter accepted to filter Transaction
mono.getTransactions(start="",end=" ",narration="",types="",paginate="") mono.getStatement()
#p
mono.getCredits()
#p
mono.getDebits()
#p
mono.getIdentity()
#p
mono.bvn_lookup()
#p