예제 #1
0
#
# -*- coding: utf-8 -*-

from honey.api import API


parm = dict()
parm["command"] = "add_task_require"
parm['task'] = 7
parm['require_name'] = 'CG3'
parm['require_type'] = 1
parm['content'] = "CG Shot Film333"
res = API.post(parm)
print res
예제 #2
0
#
# -*- coding: utf-8 -*-
import json

from honey.api import API


parm = dict()
parm["command"] = "task_requires"
parm['task'] = 7

res = json.loads(API.post(parm))
for a in res:
    print a