def getAliasWithName(plat, name): return sendReceiveReq(getTranslateUrl(), gdata={ "cmd": "getAliasWithName", "platform": plat, "name": name })
def getAliasWithInt(plat, int): return sendReceiveReq(getTranslateUrl(), gdata={ "cmd": "getAliasWithInt", "platform": plat, "int": int })
def getIntWithName(name): return int( sendReceiveReq(getTranslateUrl(), gdata={ "cmd": "getIntWithName", "name": name }))
def getNameWithAlias(plat, alias): return sendReceiveReq(getTranslateUrl(), gdata={ "cmd": "getNameWithAlias", "platform": plat, "alias": alias })
def selectPaths(plat1, plat2): return sendReceiveReq(getPathDBUrl(), 'selectPaths&plat1{}&plat2={}'.format(plat1, plat2))
def selectMonitors(user): return sendReceiveReq(getPathDBUrl(), method="post", gdata={"cmd": "selectMonitors"}, pdata={"uid": user})
def selectUsers(): return sendReceiveReq(getPathDBUrl(), gdata={"cmd": "selectUsers"})
def getNameWithInt(int): return sendReceiveReq(getTranslateUrl(), gdata={ "cmd": "getNameWithInt", "int": int })
def getAlias2Int(platform): return sendReceiveReq(getTranslateDBUrl(), gdata={ "cmd": "getAlias2Int", "platform": platform })
def getAliases(platform): return sendReceiveReq(getTranslateUrl(), gdata={ "cmd": "getAliases", "platform": platform })
def getFullDict(): return sendReceiveReq(getTranslateDBUrl(), gdata={"cmd": "getFullDictionary"})
def getPlatforms(): return sendReceiveReq(getTranslateDBUrl(), gdata={"cmd": "getPlatforms"})