Skip to content

Method Data Return #8

@taylorjdawson

Description

@taylorjdawson

I have been trying to determine what data ought to be returned with a method call.
As of right now most methods return only the "result" from the json request but leave of the "status" and "message" portion. I am wondering if the user of the python api should be getting the whole request back?
My reasoning is that there should be an error check implemented somewhere.
For example if you make an erroneous request it returns following:

{"status":"0","message":"No transactions found","result":[]}

Should the error check be handled by the python (internally) or by the api user (externally)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions