← Back to Insights

New PHP class for connecting your website to Kumulos

As promised here is a really easy to use PHP class for accessing Kumulos on the web. This can be really handy for a host of things, such as simply displaying leaderboards on a website or creating a cloud bases SaaS service with mobile and desktop access.

You can download the PHP class here

To use simply add the following code:

$k = new kAPI('APIKey', 'secretKey');
try {
    $params = array('foo' => 'bar');
    $result = $k->call('method', $params);
// Can not do try/catch to let default handler kick in
catch (kAPIException $e) {
    echo $e->getMessage();
    echo 'Server response:';

Enter your email address here to receive new blog updates

  • This field is for validation purposes and should be left unchanged.

Leave a Reply

Your email address will not be published. Required fields are marked *