def GetAllowance(**kwargs): """Request the status of your current allowance""" url = _get_url(kwargs) resp = _get_response(url) res = Msg.Allowance(resp) return res
def _include_allowance(res, json, kwargs): if('get_allowance' in kwargs and kwargs['get_allowance']): alw = Msg.Allowance(json) return (res, alw) else: return res