Guild

Version 3 (vl, 07/09/2009 12:11 pm)

1 1 vl
h1. guild
2 1 vl
3 1 vl
Access information from a guild.
4 1 vl
5 1 vl
h2. Base URL
6 1 vl
7 1 vl
* http://atys.ryzom.com/api/guild.php
8 1 vl
9 1 vl
h2. URL Parameters
10 1 vl
11 1 vl
h3. @key@
12 1 vl
13 1 vl
The [[API Key]] of the *guild*.
14 1 vl
15 1 vl
h2. Cache Duration
16 1 vl
17 1 vl
The information are cached for *1 hour*.
18 1 vl
19 1 vl
h2. PHP Interface
20 1 vl
21 2 vl
h3. @ryzom_guild_simplexml($key)@
22 2 vl
23 2 vl
Get a guild @$key@ and returns a "simplexml":http://fr3.php.net/manual/en/book.simplexml.php object containing the guild information.
24 2 vl
25 3 vl
h3. @ryzom_guild_xmlgz($key)@
26 3 vl
27 3 vl
Get a guild @$key@ and returns a gzipped xml containing the guild information.
28 3 vl
29 2 vl
h3. @ryzom_guild_valid_key($key, &$gid)@
30 2 vl
31 2 vl
Returns true if the guild key seems valid (or false if not). It doesn't do server check, but only basic checks.
32 2 vl
33 2 vl
This function sets the guild id.
34 1 vl
35 1 vl
h2. Real Examples
36 1 vl
37 1 vl
If you have a website that use this Ryzom API, tell it in the forum and we'll add it.