Character

Version 4 (vl, 04/10/2009 11:40 am) → Version 5/15 (vl, 04/10/2009 11:41 am)

h1. Character

h2. Base URL

http://atys.ryzom.com/characters/index.php

h2. Syntax

* *key*: the API key for the character

h2. Errors

* *E2*: Bad API key
* *E4*: Character is not found

h2. Update Frequency

The profile is updated every hour.

h2. PHP Example

<pre>
<?
$xml = simplexml_load_file('http://atys.ryzom.com/characters/index.php?key=<apikey>'); simplexml_load_file('http://atys.ryzom.com/characters/index.php?key=1224Z0Z1728C7C7');
echo "Name: ".$xml->name;
?>
</pre>

will display the name of the character. second character of the user id 65:

<pre>
Name: Dday
</pre>


h2. Real Examples