API Tutorial – Introduction

Welcome to our first tutorial! This will also will be the start of a whole series of blog posts regarding one of our new major features in the Beta Platform – the API.

The API allows you to automatically create campaigns, rate tasks, add worker to groups and much more. This is all done via a RESTful interface provided by the Microworkers.com Beta Platform.

We have already made available some basic examples on how to use the API but decided it’s time for a fully worked out application showing how all the pieces have come together. Thus, we decided to write a small Comment Moderation System.

You can try out the completely finished Comment Moderation System at commentmoderation.demo.microworkers.com.

In a nutshell, users are able to post comments on a Website, which are set to pending review before they are published. Instead of moderating these comments ourselves, we will use the Microworkers.com Workforce  to instead  do this for us. Therefore, our Comment Moderation System will group all these pending comments into one campaign, send it out and start it immediately via the API. As different workers may have different opinions on whether to approve or decline a comment, we will use a majority vote system. In detail every comment will be reviewed by 3 workers, and once all reviews are in, our application will decide if the comment can be published. At last the Comment Moderation System will automatically rate the workers as soon as the task is submitted. The workflow is depicted in the image below.

workflow

 

In case you want to code along here is a list of things you will need:

  • A webserver able to run PHP
  • A MySQL database
  • A valid Microworkers.com Beta API key
  • Beginner to Intermediate programming skills in HTML,CSS,PHP and MySQL

The series is structured as follows:

  • Introduction: You are reading it now 😉
  • Part I: In this post we will create a simple Website enabling a visitor to leave a comment. To keep things simple we have decided not to base our application on an existing system, like for example, WordPress.
  • Part II: This post will cover how a campaign will be created and started based on the comments awaiting approval.
  • Part III: At last we will show you how the automated rating of the submitted tasks will work.

So sit tight and enjoy the upcoming posts.

16 Comments

Masud Rana

I trust that API tutorial will helpful for us.

Tahiatur

Yes, tutorial introduction help for us.

khaledur rahman

I belive that API will help us

Anthony

Please bundle the things you need to follow along with this project and provide a link.

Thanks.

Amalendu

I can not use my micro workers id. I have entered my id in office then use in my home in my laptop

pilot

micro workers give payment by Skrill, Paypal, Dwolla . but Bangladeshi can’t registration on that payment site. payza.com is best for Bangladeshi user . so please microwoker.com add payza.com payment method for bangladesh.

PurnanandaDadhara

Most help full API

kasun sulochana

how to change my address and zip code.please help me

PurnanandaDadhara

Most help full API tutorial introduction for us.

PurnanandaDadhara

I read all of tutorial introduction micro workers,It’s very eassy to understanding

baskaran

please help me API company my work

shobuj

hi, i am a new account holder.i don’t understand how to i start my jobs.plez help me to start the job.there some rules but i dont use perfectly.

Nabadip halder

Most help full Apl tutorial introduction for us

sanjeeva

tutorial introduction help for us.

Gowshigan

Have a Good Day.. I am a new User .. i need to know how to do blogs job? can anyone please help us? Thanking you
Awaiting for your reply
With Warm Regards
V.Gowshigan

Ramu

Hi im new to this working site ..pls helpme where to start and get the job done

Your Reply

 
You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>