Skip to content
a magical creation powered by a few unorthodox parts
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
resources
src/robot
.gitignore
README.md
project.clj

README.md

robot

This is still a work in progress

Getting Started

Create file resources/mturk.properties

In this file insert

access_key=YOUR_KEY
secret_key=YOUR_SECRET
service_url=https://mechanicalturk.sandbox.amazonaws.com/?Service=AWSMechanicalTurkRequester

Usage

user=> (use 'robot.core)
nil
user=> (defn simple-question []
  (let [service (start-service)
    hit (create-hit service
            "Answer the question"
            "This is a test HIT"
            0.05
            (RequesterService/getBasicFreeTextQuestion
             "What is the current time where you live?")
            2)]
    (fn [] (retrieve-submissions service (.getHITId hit)))))

License

Copyright © 2012

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

Something went wrong with that request. Please try again.