Herald guild stats to external website?

If you need support, you can get help here!
User avatar
Bodyguard
Myrmidon
 
Posts: 132
Joined: Nov 02, 2006 01:00

Postby Bodyguard » Oct 01, 2018 00:48

Hello there,

Is that any chance to export a guild data from the Uth Herald to display on an external guild website?

Something to display the guild names members, RR, levels, etc. Even better, the guild's ranks!

Thanks for the answer :)

User avatar
Ploangel
Myrmidon
 
Posts: 122
Joined: Dec 05, 2007 01:00

Postby Ploangel » Oct 01, 2018 19:17

Hello,
You have all the data here: https://www2.uthgard.net/herald/api/dump
If you know how to code, you can easly process the data with php or javascript.

User avatar
Bodyguard
Myrmidon
 
Posts: 132
Joined: Nov 02, 2006 01:00

Postby Bodyguard » Oct 02, 2018 08:35

Thanks Ploangel,

I'am a HTML/CSS guy, not a PHP one, but I'll find the help needed I guess, now that I know where to call the data.

Have a nice day!

User avatar
silenced
Phoenix Knight
 
Posts: 1074
Joined: Sep 28, 2006 00:00

Postby silenced » Oct 02, 2018 09:40

I wish they would add things like tradeskills too. :)
Albion Forever!

User avatar
Bodyguard
Myrmidon
 
Posts: 132
Joined: Nov 02, 2006 01:00

Postby Bodyguard » Oct 04, 2018 08:44

Well, the dump file is heavy.

No option to get one for one guild only and not all the Uthgard characters?

Thanks

User avatar
Abydos
Game Master
Game Master
 
Posts: 6839
Joined: Jan 22, 2011 21:14

Postby Abydos » Oct 04, 2018 20:34

Documentation found here:

https://www2.uthgard.net/herald/

You probably want to use this
https://www2.uthgard.net/herald/api/search/{player,guild}/[a-z]{2,}

User avatar
Bodyguard
Myrmidon
 
Posts: 132
Joined: Nov 02, 2006 01:00

Postby Bodyguard » Oct 04, 2018 21:12

Thanks Abydos,

I found that possibility already, but it does not look so simple... is it?

I have tried a few options but none worked... Is there a small tutorial with the various keys?

I have tried that: https://www2.uthgard.net/herald/api/search/guild/Les Compagnons but I do not understand how to manage the numbers.

Thanks if you can point me the right direction :)

User avatar
Abydos
Game Master
Game Master
 
Posts: 6839
Joined: Jan 22, 2011 21:14

Postby Abydos » Oct 04, 2018 22:05

Ah, seems that part of the API may not be implemented and you may have to use the full dump instead. It would require some json parsing for sure. There are community members that have made sites based on the data, I suggest engaging with them for now

User avatar
Bodyguard
Myrmidon
 
Posts: 132
Joined: Nov 02, 2006 01:00

Postby Bodyguard » Oct 04, 2018 22:23

Ok, good idea.

Do you have a few guild names?

User avatar
Ilerget
Phoenix Knight
 
Posts: 1482
Joined: Jul 04, 2011 11:54

Postby Ilerget » Oct 05, 2018 11:03

what is the size of that full dump?
and the refresh timer of that data?
It's the thrill of the chase
and I'm coming after you.

User avatar
Bodyguard
Myrmidon
 
Posts: 132
Joined: Nov 02, 2006 01:00

Postby Bodyguard » Oct 05, 2018 11:27

I do not know for the refresh, the size is 52,4 Mo.

https://www2.uthgard.net/herald/api/dump

User avatar
Wakanidoo
Myrmidon
 
Posts: 145
Joined: Oct 01, 2016 18:58

Postby Wakanidoo » Oct 05, 2018 14:49

I have a question for a related topic:
is there a list of tags used in the game's xml files with the possible values for these tags ?
For example, the tags "name" (values = red_black_stats, exp_high, summary ...) the tags "adapter" (values = time_of_day, summary_hit_label ...).
I just want to make some adaptations to some elements of the original interface without using another UI.

Thank you.
We are here to help *you*
Alcyon: UK; Abydos: US; Baldrug: DE; Blue: DE; Cirdan: US; Crucible: US; Decidon: US;
Genjiro: DE; Gnome: US; Juna: DE; Nayru: DE; Trishin: UK; Rajnish: US

The Uthgard Staff are always here!

User avatar
Ploangel
Myrmidon
 
Posts: 122
Joined: Dec 05, 2007 01:00

Postby Ploangel » Oct 05, 2018 19:32

For uth1 I had a script who parse the herald guild page every night:
http://herald.uthgard.net/herald.php?vi ... agone&c=Go

The html is not too complex. I may have the script somewhere. (very poor python code but work for 6 years...)


Return to Support

Who is online

Users browsing this forum: No registered users and 8 guests

Saturday, 03. May 2025

Artwork and screen shots Copyright © 2001-2004 Mythic Entertainment, Inc. All rights reserved. Used with permission of Mythic Entertainment. Mythic Entertainment, the Mythic Entertainment logo, "Dark Age of Camelot," "Shrouded Isles," "Foundations," "New Frontiers," "Trials of Atlantis," "Catacombs," "Darkness Rising," the Dark Age of Camelot and subsequent logos, and the stylized Celtic knot are trademarks of Mythic Entertainment, Inc.

Valid XHTML & CSS | Original Design by: LernVid.com | Modified by Uthgard Staff