parse_response#

hvpy.core.parse_response(response, output_type)[source]#

Parses the response from the API call based on the output type.

Parameters:
  • response (Response) – The response from the API call.

  • output_type (OutputType) – The output type.

Returns:

The parsed response.

Return type:

Union[bytes, str, Dict[str, Any]]