图8API的简单客户端
figure-eight-client的Python项目详细描述
图8 python客户端
python客户端从Figure Eight's API docs
安装
$ pip install figure-eight-client
用法
用https://make.figure-eight.com/account/api中的标记替换<figure-eight-api-token>
>>>fromfigure_eight_clientimportFigureEightClient>>>client=FigureEightClient("<figure-eight-api-token>")
方法
copy_job(job_id, all_units=True) |
copy_job_without_rows(job_id) |
add_tag_to_job(job_id, tag) |
upload_csv_to_job(job_id, data) |
launch_job(job_id, units_count, channel='on_demand') |
get_jobs(exclude_instructions=False, pages=1) |
get_job_rows(job_id, pages=-1) |
find_jobs_by_support_email(support_email, team_id=None) |
get_judgements_by_job_id(job_id) |
get_json_results_by_job_id(job_id) |
set_job_price_in_cents_per_page(job_id, price_in_cents) |
set_job_title(job_id, title) |
贡献
如果你有主意或者发现了一个bug,可以考虑发出一个请求。
谢谢
非常感谢Density赞助了图8 python客户机的开发。