Skip to content

Return full response object from api_query #21

@bryanroth

Description

@bryanroth

I noticed that in private_client.py the api_query method only returns the JSON data from the response object instead of the full response object. Is there a reason behind this?

My issue is that it would be useful to leverage the status code of the response to determine how to handle the response on the client. Currently, you would have to parse the JSON data for certain text in order to handle errors for example.

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