class_docstr: Base class where the decorators and base function for the other
  classes of this python wrapper will inherit from.
docstr: Handle the return call from the  api and return a data and meta_data
  object. It raises a ValueError on problems
  
  Keyword Arguments:
      url:  The url of the service
      data_key:  The key for getting the data from the jso object
      meta_data_key:  The key for getting the meta data information out
      of the json object
docstr_tok: ["Handle","the","return","call","from","the","api","and","return","a","data","and","meta_data","object",".","It","raises","a","ValueError","on","problems","Keyword","Arguments",":","url",":","The","url","of","the","service","data_key",":","The","key","for","getting","the","data","from","the","jso","object","meta_data_key",":","The","key","for","getting","the","meta","data","information","out","of","the","json","object"]
code: def _handle_api_call(self, url):
      """Handle the return call from the  api and return a data and meta_data
      object. It raises a ValueError on problems
  
      Keyword Arguments:
          url:  The url of the service
          data_key:  The key for getting the data from the jso object
          meta_data_key:  The key for getting the meta data information out
          of the json object
      """
      response = requests.get(
          url, proxies=self.proxy, headers=self.headers
      )
      if (
          "json" in self.output_format.lower()
          or "pandas" in self.output_format.lower()
      ):
          json_response = response.json()
          if not json_response:
              raise ValueError(
                  "Error getting data from the api, no return was given."
              )
          elif "Error Message" in json_response:
              raise ValueError(json_response["Error Message"])
          elif (
              "Information" in json_response
              and self.treat_info_as_error
          ):
              raise ValueError(json_response["Information"])
          elif "Note" in json_response and self.treat_info_as_error:
              raise ValueError(json_response["Note"])
          return json_response
      else:
          csv_response = csv.reader(response.text.splitlines())
          if not csv_response:
              raise ValueError(
                  "Error getting data from the api, no return was given."
              )
          return csv_response
  
file_path: alpha_vantage/alpha_vantage/alphavantage.py
imports: import requests
  import os
  from functools import wraps
  import inspect
  import sys
  import re
  import csv
label_desc: Use image node_id 7 for calling the AlphaVantage obj's underlying member method code with example usage: obj._handle_api_call(url) and returns: json_response, csv_response