PHP Classes

Amazon Mechanical Turk PHP REST API: Setup crowdsourcing tasks with Mechanical Turk API

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 463 All time: 6,048 This week: 217Up
Version License PHP version Categories
amt-rest-api 0.1Public Domain5.3PHP 5, Web services


This package can set up, maintain and query crowd-sourcing tasks with the Amazon Mechanical Turk web service.

It can send HTTP requests to Amazon Mechanical Turk API Web server to perform all supported operations on tasks, qualifications, notifications and notification responses.

Innovation Award
PHP Programming Innovation award nominee
November 2011
Number 6
Amazon Mechanical Turk is a service that lets you outsource tasks to users around the world.

This class provides an API that lets you manage all interactions with Amazon Mechanical Turk, so you can integrate outsourcing tasks to crowds from any PHP site.

Manuel Lemos
Picture of CPK Smithies
  Performance   Level  
Name: CPK Smithies <contact>
Classes: 7 packages by
Country: United Kingdom
Age: 69
All time rank: 152069 in United Kingdom
Week rank: 105 Up4 in United Kingdom Up
Innovation award
Innovation award
Nominee: 4x

AMT REST API This package is placed by the author in the public domain. This package is written for php 5.3+. It uses namespaces. It implements the whole of the (usable) Amazon Mechanical Turk API over the Amazon REST interface. The aim has not been to impose an object-oriented view of the Amazon API - whose object decomposition must necessarily depend upon individual applications - but rather to apply a low-level object-oriented approach to its implementation whilst making the best use of the facilities built into PHP. This package divides the AMT API into four main chunks: the core, the qualifications API, the notifications API, and the notification response class. The latter provides the basis for a web service to receive AMT notifications. Many AMT implementations will need only the core. The written documentation has been designed to co-exist with automatically generated documentation using the docblox PEAR package. Instructions on generating the automatic documentation are included in the installation documentation.
  Files folder image Files  
File Role Description
Files folder imagedoc (2 files)
Plain text file amt_config.php Class Ancillary class for reading HITType data from a configuration file
Accessible without login Plain text file amt_keys.php Example Example keys file
Plain text file amt_notification.php Class Notifications API
Accessible without login Plain text file amt_notify_test.php Aux. Test notifications handler script
Plain text file amt_qual.php Class Qualifications API
Plain text file amt_rest_api.php Class Core API
Plain text file csvwriter.php Class Ancillary class for dumping data to CSV
Accessible without login Plain text file docblox.dist.xml Data Configuration for docblox documentation generation
Accessible without login Plain text file hittype.conf Data Demonstration HITType configuration file
Accessible without login Plain text file LICENCE Lic. Licence text
Accessible without login Plain text file README Doc. Prefatory documentation

  Files folder image Files  /  doc  
File Role Description
  Accessible without login HTML file install.html Doc. Installation instructions
  Accessible without login HTML file manual.html Doc. API documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,048
This week:217Up