Skip to content
This repository has been archived by the owner on Mar 14, 2018. It is now read-only.

Latest commit

 

History

History
27 lines (21 loc) · 598 Bytes

README.rst

File metadata and controls

27 lines (21 loc) · 598 Bytes

Tagasauris API Client

Examples

import hashlib, uuid
from tagasauris_api.api import TagasaurisClient

ext_id = hashlib.md5(str(uuid.uuid4())).hexdigest()

c = TagasaurisClient(login='***', password='***')

result = c.create_job(
    id=ext_id,
    title='Aug3Test',
    task={
        "id" : "tagging",
        "instruction" : "test job instruction, visible to mturkers",
        "paid" : "0.0",
        "keywords" : "some keywords"
    },
    mediaobjects=['adb9523a1d36***',]
)