People is an API for requesting human interaction.
>>> from people import Query, Response >>> Query.create( 'How many cars are in this image? http://...', regex.nonneg_int, 'http://callback.url/' ) >>> query = Query.get() >>> query.text 'Is this person smiling? Respond [yes] or [no]. http://...' >>> Response.create('yes', query)
Official documentation located here.
pip install people
>>> people.User.create('firstname.lastname@example.org', 'example_username', 'example_password') >>> people.username = 'example_username' >>> people.password = 'example_password'
Transactions are entirely handled using Stripe, ensuring your security.
If you intend to submit queries, you must deposit funds. Login and visit
AMOUNT with the amount you intend to deposit in cents. You should see your balance afterwards within your profile.
If you intend to answer queries, to redeem your balance, create a
Transfer instance as so.
>>> transfer = people.Transfer.create(AMOUNT)