Mobile.getLocales

From FreePokerAlliance wiki

Jump to: navigation, search

Contents

Description

Returns list of available localizations (languages) of the specified game.

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 game_name string Game name (see Mobile.getGames)

Example Requests

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

http://mobile.freepokeralliance.com/mobileservices.php?command=getlocales&client_id=machopoker&manufacturer_id=Sony-Ericsson&model_id=W900&game_name=Machopoker

Response

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

Attribute name Type Description
name string The 2 characters length code of the language.

Response example

<?xml version="1.0" encoding="UTF-8"?>
 <root>
  <locales>
   <item name="en"/>
  </locales>
</root>

Error Codes

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

Personal tools