code: def getEffort(self, vehID, time, edgeID):
          
          self._connection._beginMessage(tc.CMD_GET_VEHICLE_VARIABLE,
                                         tc.VAR_EDGE_EFFORT, vehID, 1 + 4 + 1 + 4 + 1 + 4 + len(edgeID))
          self._connection._string += struct.pack(
              "!BiBi", tc.TYPE_COMPOUND, 2, tc.TYPE_INTEGER, time)
          self._connection._packString(edgeID)
          return self._connection._checkResult(tc.CMD_GET_VEHICLE_VARIABLE, tc.VAR_EDGE_EFFORT, vehID).readDouble()
docs: getEffort(string, double, string) -> double
  
          .