我正在制作一个具有一些特定调查的移动应用程序。因此,目标是将该应用程序与亚马逊MTurk等众包服务集成。亚马逊发布了针对请求者需求的api和示例。但是我没有提到如何将Workers集成到应用程序中。有什么方法可以授权MTurk Workers,以便他们可以直接在应用程序中执行HIT?
答案 0 :(得分:0)
没有辅助API。有些人使用了屏幕抓取功能,其他人使用了GreaseMonkey或TamperMonkey脚本来“解决”缺少API的问题。但是目前没有Worker API。
答案 1 :(得分:0)
基于jrb的响应,当前没有一流的“ Worker API”。但是,Worker网站上的许多路径都允许您将.html
扩展名与.json
交换并获得JSON响应。例如,将https://worker.mturk.com/projects
变成https://worker.mturk.com/projects.json
将返回以下内容:
{
"results": [
{
"hit_set_id": "39393HGTH46CTINJ1KWCJDBLXGLOEQ",
"requester_id": "AKEBQYX32KM19",
"requester_name": "Crowdsurf Support",
"title": "Full Text Review - Earn up to $0.17 per media minute",
"description": "Review and edit full-length transcripts",
"assignment_duration_in_seconds": 21600,
"creation_time": "2019-08-16T18:38:53.000Z",
"assignable_hits_count": 433,
"latest_expiration_time": "2020-08-06T23:08:13.000Z",
"caller_meets_requirements": false,
"caller_meets_preview_requirements": false,
"last_updated_time": "2019-08-16T18:38:53.000Z",
"monetary_reward": {
"currency_code": "USD",
"amount_in_dollars": 0.17
},
"accept_project_task_url": "/projects/39393HGTH46CTINJ1KWCJDBLXGLOEQ/tasks/accept_random.json?ref=w_pl_prvw",
"requester_url": "/requesters/AKEBQYX32KM19/projects.json?ref=w_pl_prvw",
"project_tasks_url": "/projects/39393HGTH46CTINJ1KWCJDBLXGLOEQ/tasks.json?ref=w_pl_prvw",
"project_requirements": [
...
],
"requesterInfo": {
"activityLevel": "High",
"taskApprovalRate": "≥ 99%",
"taskReviewTime": "less than a day"
}
}
],
"page_number": 1,
"num_results": 20,
"total_num_results": 990
}