English French German Spanish Russian
New Ryzom API - Web Apps - Ryzom Community ForumHomeGuest

Web Apps


uiWebPrevious12345678910uiWebNext

#28 [en] 

Dinorath (atys)
cool

Im not sure if im doing something wrong, but Im getting a "<error>guild data is not initialized</error>" after some time when downloading the xml via crontab. Ill dig into that later, but if you have any tip regarding the error it would help :D
Temporary server side cache hickup. Wait 10 sec and try again.

Also, if you or anyone else is needs to pull more than one key, then you can do it in one request:
http://api.ryzom.com/character.php?apikey[]=key1&apikey[]=key 2
same for guild keys. Later you sort them by apikey attribute.

---

Hello!

#29 [en] 

Great! Thanks.

#30 [de] 

Dinorath (atys)
cool

Im not sure if im doing something wrong, but Im getting a "<error>guild data is not initialized</error>" after some time when downloading the xml via crontab. Ill dig into that later, but if you have any tip regarding the error it would help :D

Thanks again

its maybe better to check for error first before downloading xml file. when an error appears, then shouldn't download xml, you can use your downloaded file while server is down or caching :)

there are only 2 errors i saw

<error>guild data is not initialized</error> -> is caching
<error>invalid key</error> -> key not valid or exist

#31 [en] 

Karu (atys)
… Try accessing api app from ingame, type /appzone 928, see if that fixes the issue outgame aswell.
Yes, this "fixed" the issue. Now I can create guild api key. But I still had to manually change the type=c for type=g in the url.

#32 [en] 

Syphox (atys)
there are only 2 errors i saw

<error>guild data is not initialized</error> -> is caching
<error>invalid key</error> -> key not valid or exist
I added 'code' attribute to 'error' node.
403 - expired, but valid key
404 - not found
503 - cache error, try again

Last edited by Karu (6 years ago)

---

Hello!

#33 [en] 

Xiena (atys)
Yes, this "fixed" the issue. Now I can create guild api key. But I still had to manually change the type=c for type=g in the url.
had? ryzomapi app shows guild keys in main page now?

---

Hello!

#34 [en] 

Karu (atys)
Xiena (atys)
Yes, this "fixed" the issue. Now I can create guild api key. But I still had to manually change the type=c for type=g in the url.
had? ryzomapi app shows guild keys in main page now?

Yes, I could not create guild keys at all. No button to press, and if I went to make a toon key, and then changed type=c in the url for type=g, and pressed save, it just gave an error. The button is still not there, but now it will save if I change the url manually.

… Looks like the button comes up if you have a guild key from before. If I have one guild key created the button is there to add more. If I delete all the keys, the button disappears also, and I have to go to toon creation again, and change the type=c for type=g again.

#35 [en] 

Xiena (atys)
Looks like the button comes up if you have a guild key from before. If I have one guild key created the button is there to add more. If I delete all the keys, the button disappears also,
thanks, it's now fixed.

---

Hello!

#36 [en] 

Updated first post with this info:
I created lite version of ryzom api for php (minimal set of functions).
There is also example script and live example.

---

Hello!

#37 [fr] 

Hahaha I'm a tryker on your Live exemple (it's say matis but show a tryker^^) but thanks for this :)

Last edited by Osquallo (5 years ago)

---

Osquallo
Les rêveries du yubo flaneur
The musings of the rambling yubo

#38 [en] 

Osquallo (atys)
Hahaha I'm a tryker on your Live exemple (it's say matis but show a tryker^^) but thanks for this :)

that was issue with dressing room script. all good now.

---

Hello!

#39 [en] 

Any way to find out if a key is from a character or guild? It would be cool (i think..) if we could download the XML using a single URL and check the key type on the resulting xml, or if we could look at the key and figure it out.

Sometimes the api allows me to download character data with the guild url and a character key, but not always. No idea why...

What do you think Karu?

#40 [en] 

Dinorath (atys)
Any way to find out if a key is from a character or guild? It would be cool (i think..) if we could download the XML using a single URL and check the key type on the resulting xml, or if we could look at the key and figure it out.
Keys are now prefixed with 'c' or 'g' making them 41 chars long. Old keys should still work.
Dinorath (atys)
Sometimes the api allows me to download character data with the guild url and a character key, but not always. No idea why...
it was possible when cache was not expired yet. cache files are now properly prefixed, so this does not happen anymore.

---

Hello!

#41 [en] 

Thank you!

#42 [en] 

Hello,

Nice... I manage to make it work in a web browser.

At the moment, I am not able to make it work as a personal IG web app (I am using the same url as the one used in the web browser).

Any idea ?

Tthanks you in advance
uiWebPrevious12345678910uiWebNext
 
Last visit Fri May 24 09:57:58 2019 UTC
P_:

powered by ryzom-api