code: def get_resource_value(self, device_id, resource_path, fix_path=True, timeout=None):
          
          return self.get_resource_value_async(device_id, resource_path, fix_path).wait(timeout)
docs: Get a resource value for a given device and resource path by blocking thread.
  
          Example usage:
  
          .. code-block:: python
  
              try:
                  v = api.get_resource_value(device_id, path)
                  print("Current value", v)
              except CloudAsyncError, e:
                  print("Error", e)
  
          :param str device_id: The name/id of the device (Required)
          :param str resource_path: The resource path to get (Required)
          :param fix_path: if True then the leading /, if found, will be stripped before
              doing request to backend. This is a requirement for the API to work properly
          :param timeout: Seconds to request value for before timeout. If not provided, the
              program might hang indefinitely.
          :raises: CloudAsyncError, CloudTimeoutError
          :returns: The resource value for the requested resource path
          :rtype: str