Skip to content

Return full response object from api_query #21

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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