favorites.get

Introduction

Get favorite game connections for users, game and categories. Search and refine your results.

Parameters

Name Type Description
uids string A comma-delimited list of users to load favorite games from
gids string A comma-delimited list of games to load favorite connections about
cids string A comma-delimited list of categories to load games from
query string A search term
limit int The number of results to return
offset int The offset for the beginning of the results
Please remember the user needs to be an authorized user of your site in order to post a comment. Please read the authorization protocol.

Using the PHP Library

<?php
$response
=$newhaze->api->favorites_get($uids=array(), $gids=array(), $cids=array(), $query, $limit, $offset);
?>

Sample responses

JSON

[{"id":"262", "url":"http://www.minimangaming.com/play/bloons-player-pack-4/", "name":"Bloons Player Pack 4", "pic_square":"http://connect.newhaze.com/images/?gid=262&width=100&height=100", "description":"The fourth bloons pack made entirely of the best levels from bloonsworld.com and myninjakiwi.com", "type":"game"}]


© 2012 NewHaze   Icons by Pixel Mixer   Help