Web Apps


uiWebPrevious1uiWebNext

#1 [fr] 

Alors me voilà tout fier d'avoir réalisé (et mis en oeuvre !!) mon premier bout de code php utilisant les API ryzom et en particuiler le :

$result = ryzom_character_api($apikey)
$xml = $result[$apikey];

Si j'ai bien compris  çà renvoi un tableau structuré comme un flux xml et on se ballade dedant pour récupérer des données à coup de $xml->guild->grade etc....

Du coup je me dis qu'il doit :
 
- existe t'il  un schéma xml, du genre à ouvrir avec AltovaXMLSPy pour regarder tout ?
- existe t'il un boud de code php qui aurait pour effet de cracher la structure xml ?

je suis remonté jusqu'au $result = curl_exec($ch); du ryzom_download_file($url) et après plus rien.

Last edited by Iwakura (10 years ago) | Reason: orthographhe

---

#2 [en] 

there is no xsd schema. I will see if I can create one.

---

Hello!

#3 [fr] 

a xsd would be THE GREAT but any other documentation is helpful.

---

#4 [en] 

xsd can now be found on ryzomapi_lite repository
or directly from http://api.ryzom.com/common/xsd/ryzomapi.xsd

it covers only <ryzomapi> node (char and guild)

There is probably... err, typos.

---

Hello!
uiWebPrevious1uiWebNext
 
Last visit Friday, 29 March 08:05:54 UTC
P_:

powered by ryzom-api