Exemplo n.º 1
0
def get_character_by_id(ch_id):

    res = C.get_character_by_id(ch_id)

    rsp = Response(json.dumps(res),
                   status=200,
                   content_type="application/json")
    return rsp
Exemplo n.º 2
0
def t0():

    res = C.get_character_by_id("CH_283")
    print("Res = ", json.dumps(res, indent=3))