Blog - API

API documentation

API documentation

Account

API functions

On the left you can find a list of API functions for Microworkers.

Each API functions comes with an example.

Programming language
Description

PHP

To test PHP examples you will need RESTClient.php while config.php is not required, also OpenSSL module must be installed and enabled.

Perl

To test Perl examples you will need MW_API.pm which have Mojolicious and Mouse as dependencies.

Python

To test Python examples you will need MW_API.py which have requests as dependence.

C#

To test C# examples you will need MWAPI.cs.

General error messages

There are 3 possible general error messages returned if API call cannot be initiated:

  • API KEY WRONG
  • API NOT ENABLED
  • API ACCESS IP DENIED
  • API FUNCTION DOESN'T EXIST

API Error messages

Other error messages will be returned if API call was successful but action cannot be completed (see API functions for more info).