games.setUrls

Introduction

Set the URLs for selected games on your site.

Parameters

Name Type Description
map string A base-64 encoded comma-delimited map of game IDs to URLs in the format gid:url. Note: the base-64 encoding is automatically done by the PHP API.

Using the PHP Library

<?php
$map
=array(23=>'http://www.example.com/play/game_23',54=>'http://example.com/play/snake/');
$response=$newhaze->api->games_setUrls($map);
?>


© 2012 NewHaze   Icons by Pixel Mixer   Help