Пример #1
0
def allAuctions(slug, region, lang, page):
    return json.dumps(GetDict.getAuctionsAll(slug=slug,
                                             region=region,
                                             lang=lang,
                                             page=page),
                      ensure_ascii=False,
                      indent=4)
Пример #2
0
def getWoWToken(region):
    return json.dumps(GetDict.getMinMaxCurrentWoWToken(region=region),
                      ensure_ascii=False,
                      indent=4)
Пример #3
0
def getSpecs(lang):
    return json.dumps(GetDict.getSpecs(lang=lang),
                      ensure_ascii=False,
                      indent=4)
Пример #4
0
def dealsAuctions(lang):
    return json.dumps(GetDict.getDeals(lang=lang, json=request.json),
                      ensure_ascii=False,
                      indent=4)
Пример #5
0
def oneItemOrPet(type, name, lang):
    return json.dumps(GetDict.getOneItemOrPetOrNone(type=type,
                                                    name=name,
                                                    lang=lang),
                      ensure_ascii=False,
                      indent=4)
Пример #6
0
def talents(cls, spec, lang):
    # return jsonify(getClassSpecDict(lang))
    return json.dumps(GetDict.getTalent(cls=cls, spec=spec, lang=lang),
                      ensure_ascii=False,
                      indent=4)
Пример #7
0
def cls_spec(lang):
    # return jsonify(getClassSpecDict(lang))
    return json.dumps(GetDict.getClassSpecDict(lang),
                      ensure_ascii=False,
                      indent=4)