code: def rest_get(url, timeout, show_error=False):
      '''Call rest get method'''
      try:
          response = requests.get(url, timeout=timeout)
          return response
      except Exception as exception:
          if show_error:
              print_error(exception)
          return Nonf rest_get(url, timeout, show_error=False):
      '''Call rest get method'''
      try:
          response = requests.get(url, timeout=timeout)
          return response
      except Exception as exception:
          if show_error:
              print_error(exception)
          return None
docs: Call rest get method