docs: def _get(function, return_format=None):
      """Get and return data from the API.
  
      :returns: A str, list, or dict, depending on the input values and API data.
      """
      if return_format:
          return requests.get(''.join([__BASE_URL, function, return_format])).text
      return requests.get(''.join([__BASE_URL, function, JSON])).json()