Skip to content

rboyd/biomass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS REPOSITORY IS DEPRECATED -> biomass has moved!

biomass

Det. Thorn: "Who bought you?"

Hatcher: "You're bought as soon as they pay you a salary."

-- Soylent Green

Drive Amazon Mechanical Turk from your Clojure apps.

Configuration

Create a config.clj in your resources paths with a map with the following format:

{:AWSAccessKeyId    "deadbeef"
 :SecretAccessToken "cafebabe"
}

Usage

Amazon Mechanical Turk allocates jobs to humans in the form of "Human Intelligence Tasks" or "HITs".

First create a HIT type and Layout using the Requester UI.

Example of creating a HIT:

(let [hit-type-id     "VCZVWLDJOTFFJXXQLGXZ"
      hit-layout-id   "WMYUHDBKJKNGOAMNCNMT"
      10-minutes      (* 10 60)
      available-for   10-minutes]
  (create-hit hit-type-id hit-layout-id available-for
    (hit-layout-form {"field1" "val1"
                      "field2" "val2"})))

License

Copyright © 2013 Robert Boyd

Distributed under the Eclipse Public License, the same as Clojure.

About

Boss people around. No suit required.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published