API documentation
Account
Basic Campaigns
- GET
- /campaign_b/get_task_info/
- /campaign_b/list_tasks/
- /campaigns_b/list
- /campaigns_b/list_extend
- /campaign_b/list_tasks_extend/
- /campaign_b/get_status/
- /campaign_b/get_info/
- /campaign_b/download_file_proof/
- /campaign_b/zones_list/
- /campaign_b/categories_list/
- /campaign_b/get_worker_tasks/
- /campaign_b/results_csv/
- POST, PUT
- /campaign_b/set_speed/
- /campaign_b/new_campaign
- /campaign_b/stop/
- /campaign_b/pause/
- /campaign_b/resume/
- /campaign_b/rate_task/
- /campaign_b/rate_tasks/
- /campaign_b/add_positions/
- /campaign_b/submit_proof/
- /campaign_b/submit_file_proof/
- /campaign_b/retarget/
- /campaign_b/restart_campaign/
- /campaign_b/toggle_qt_required/
HG Campaigns
- GET
- /campaign_hg/get_task_info/
- /campaign_hg/list_tasks/
- /campaign_hg/list_tasks_extend/
- /campaigns_hg/list
- /campaigns_hg/list_extend
- /campaign_hg/get_status/
- /campaign_hg/get_info/
- /campaign_hg/categories_list/
- /campaign_hg/groups_list/
- /campaign_hg/download_file_proof/
- /campaign_hg/get_worker_tasks/
- /campaign_hg/results_csv/
- POST, PUT
- /campaign_hg/new_campaign
- /campaign_hg/stop/
- /campaign_hg/pause/
- /campaign_hg/resume/
- /campaign_hg/rate_task/
- /campaign_hg/rate_tasks/
- /campaign_hg/add_positions/
- /campaign_hg/submit_proof/
- /campaign_hg/submit_file_proof/
- /campaign_hg/lock_task/
- /campaign_hg/change_group/
- /campaign_hg/restart_campaign/
- /campaign_hg/toggle_qt_required/
Employer
- GET
- /employer/exclude_list
- POST
- /employer/exclude_list
- DELETE
- /employer/exclude_list
Worker
Messages
/campaign_b/results_csv/<campaign_id> GET
Returns submitted tasks in CSV.
Parameters:
Return values:
status=SUCCESS, campaign_id=[campaign id], csv="csv data"
status=ERROR, campaign_id, error=[error message*]
*[NO SUCH CAMPAIGN]
Code:
cURL:
PHP:
Perl:
Python:
C#:
Examples:
Output (Success):
https://api.microworkers.com/campaign_b/results_csv/313687d35d31
{
"status": "SUCCESS",
"campaign_id": "313687d35d31",
"csv": "CAMPAIGN_TITLE,\"This is a test\"\nCAMPAIGN_STATUS,BLOCKED\nCAMPAIGN_ID,00119c2ef7a6\nAVAILABLE_POSITIONS,30\nPAYMENT_PER_TASK,0.10000\nCREATED,\"2009-03-18
10:54:51\"\nZONE,INT\nCOUNTRIES_TARGETED,INT\nCOUNTRIES_EXCLUDED,\n,\nTASKS_SUBMITTED,2\nTASKS_OK,2\nTASKS_NOK,0\nTASKS_NOTRATED,0\n,\nROW,TASK_ID,USER_ID,USERNAME,TASK_RATING,FINISHED,IP,COUNTRY_CODE,PROOF,EMPLOYER_COMMENT,HTTP_USER_AGENT\n1,18950935,54a37c6a,Member_123456,OK,\"2009-02-18
10:51:34\",141.201.135.239,DZ,\"1-Yahoo Username : [email protected]\",,\"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0\"\n2,18950936,54a37c6a,OK,\"2009-02-18 10:51:34\",141.201.135.239,DZ,\"1-Yahoo Username :
[email protected]\",,\"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0\"\n"
}
Output (Error):
https://api.microworkers.com/campaign_b/results_csv/123456780
{
"status": "ERROR",
"campaign_id": "123456780",
"error": "NO SUCH CAMPAIGN"
}