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

2 Risposte
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
con risposta 4 anni fa
0

Hi Adam J,

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

Best
Max

MaxLo
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande