Mobile.getGames

From FreePokerAlliance wiki

Jump to: navigation, search

Contents

Description

Returns list of available games based on the selected client, manufacturer and model.

Parameters

Required Name Type Default value Description
required Command string getManufacturers API method name
required client_id string Your client ID (provided by our support team).
required manufacturer_id string Manufacturer (see Mobile.getManufacturers)
required model_id string Model (see Mobile.getModels)
required locale_id string 2 char long Locale string (see Mobile.getLocales)

Example Requests

Language list of client machopoker's Sony-Ericsson W900 games:

http://mobile.freepokeralliance.com/mobileservices.php?command=getgames&client_id=machopoker&manufacturer_id=Sony-Ericsson&model_id=W900&locale_id=hu

Response

In the response XML, each <item> node has an attribute described here.

Attribute name Type Description
id int The ID of the game (used by Mobile.sendSMSdownload)
name string The name of the game.

Response example

<?xml version="1.0" encoding="UTF-8"?>
 <root>
  <games>
   <item id="2" name="Texas Holdem Poker"/>
  </games>
</root>

Error Codes

Code Description
<errormessage> Node contains error message. Only set when an error occurs.

Personal tools