MambuPy.rest

MambuPy’s REST package.

Objects using Mambu REST API

MambuPy.rest.mambustruct

Base class for all Mambu objects.

MambuPy.rest.mambuclient

Mambu Clients objects.

MambuPy.rest.mambugroup

Mambu Groups objects.

MambuPy.rest.mambuloan

Mambu Loans objects.

MambuPy.rest.mamburepayment

Mambu loan Repayments objects.

MambuPy.rest.mambutransaction

Mambu loan Transaction objects.

MambuPy.rest.mambuproduct

Mambu Products objects.

MambuPy.rest.mambubranch

Mambu Branches objects.

MambuPy.rest.mambucentre

Mambu Centres objects.

MambuPy.rest.mambuactivity

Mambu Activity objects.

MambuPy.rest.mambutask

Mambu Task objects.

MambuPy.rest.mambusaving

Mambu Savings objects.

MambuPy.rest.mambusavingtransaction

Mambu Saving Transaction objects.

MambuPy.rest.mambutransactionchannel

Mambu Transaction Channel objects.

MambuPy.rest.mambuuser

Mambu Users objects.

MambuPy.rest.mamburoles

Mambu Roles objects.

The REST API way is the currently most developed code on MambuPy.

Lives under the MambuPy.rest package

It has a lot of objects which model some Mambu entity.

Every object inherits from the parent mambustruct.MambuStruct class. Start at the documentation there for more info on how it works.

Todo

Implement objects to make POST requests. The suggestion may be to use MambuStruct, to default the __init__ to make a POST request (via the data argument) and the attrs attribute to store the elements of the response that Mambu gives when a successful POST is achieved.

Todo

Implement a lot of other Mambu entities available through GET requests on Mambu.

Todo

Implement a lot of lacking GET filters on the currently available Mambu objects, inside the urlfuncs on the mambuutil module.

Todo

A lot of TODO comments are inserted inside the pydocs of the code itself. Please read them for suggestions on work need to be done.