code: def GET_query(self, req_hook, req_args):
          ''' Generic GET query method '''
          # GET request methods only require sessionTokens
          headers = {'content-type': 'application/json',
                     'sessionToken': self.__session__}
  
          # HTTP GET query method using requests module
          try:
              if req_args is None:
                  response = requests.get(self.__url__ + req_hook,
                                          headers=headers,
                                          verify=True)
              else:
                  response = requests.get(self.__url__ + req_hook + str(req_args),
                                          headers=headers,
                                          verify=True)
          except requests.exceptions.RequestException as err:
              self.logger.error(err)
              return '500', 'Internal Error in RESTful.GET_query()'
          # return the token
          return response.status_code, response.texf GET_query(self, req_hook, req_args):
          ''' Generic GET query method '''
          # GET request methods only require sessionTokens
          headers = {'content-type': 'application/json',
                     'sessionToken': self.__session__}
  
          # HTTP GET query method using requests module
          try:
              if req_args is None:
                  response = requests.get(self.__url__ + req_hook,
                                          headers=headers,
                                          verify=True)
              else:
                  response = requests.get(self.__url__ + req_hook + str(req_args),
                                          headers=headers,
                                          verify=True)
          except requests.exceptions.RequestException as err:
              self.logger.error(err)
              return '500', 'Internal Error in RESTful.GET_query()'
          # return the token
          return response.status_code, response.text
docs: Generic GET query method