Check if mturk WorkerID exists via (PHP) API

0

Hi guys,

I'm new to mturk and the API. I'm wondering if there is an easy way to check if a specific WorkerID is existing on the mturk platfrom? I couldn't find an easy solution directly, but it might be that I'm just lacking of experience in using mturk and the API.
I'm using the PHP API, but I'm open to accept also other ways to check it.

Thanks,
Max

MaxLo
已提問 4 年前檢視次數 194 次
2 個答案
0

Hello Max,

I think any operation that associates an attribute to a Worker would most likely return an error if the WorkerID did not exist. I'm not as familiar with the more nuanced aspects of the API, but a Worker has to exist to be able to grant them a Custom Qualification. Workers don't have to submit an assignment to be issued a Custom Qualification by a Requester.

You could create a Custom Qualification and try to grant it to the WorkerID you have in mind. In theory, if it doesn't work, then that should mean the ID does not exist.

https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_AssociateQualificationWithWorkerOperation.html

If you have any other questions please contact us at mturk-requester-support@amazon.com.

-Adam J

AWS
已回答 4 年前
0

Hi Adam J,

thank you very much for your answer. It works the way you explained it.

Best
Max

MaxLo
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南