code: def getEffort(self, edgeID, time):
          
          self._connection._beginMessage(tc.CMD_GET_EDGE_VARIABLE, tc.VAR_EDGE_EFFORT,
                                         edgeID, 1 + 4)
          self._connection._string += struct.pack(
              "!Bi", tc.TYPE_INTEGER, time)
          return self._connection._checkResult(tc.CMD_GET_EDGE_VARIABLE,
                                               tc.VAR_EDGE_EFFORT, edgeID).readDouble()
docs: getEffort(string, double) -> double
  
          Returns the effort value used for (re-)routing
          which is valid on the edge at the given time.