API for match history
Moderator: Forum Moderators
-
- Posts: 488
- Joined: August 4th, 2019, 5:27 pm
- Contact:
API for match history
Is there any documentation for the "Match History" button in 1.17 lobby? If not, which source code files to look to get a grasp of it? Also I've seen there was some advanced replay viewing system in development, what state is it in?
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
- Pentarctagon
- Project Manager
- Posts: 5592
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: API for match history
The function for the query is here, starting from the request here.
I'm not sure what you mean by advanced replay viewing system though.
I'm not sure what you mean by advanced replay viewing system though.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
-
- Posts: 488
- Joined: August 4th, 2019, 5:27 pm
- Contact:
Re: API for match history
Some guy was willing to write it, in Python, he had a nickname starting with "m" letter I think. I think there were even github issues on thisPentarctagon wrote: ↑February 25th, 2024, 8:25 pm I'm not sure what you mean by advanced replay viewing system though.
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
- Pentarctagon
- Project Manager
- Posts: 5592
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: API for match history
Do you mean https://github.com/wesnoth/wesnoth/issues/7935 ? Otherwise I can't find anything particularly related by searching those terms on https://github.com/wesnoth/wesnoth/issues
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
-
- Posts: 488
- Joined: August 4th, 2019, 5:27 pm
- Contact:
Re: API for match history
Yes, this one. I see it's up at https://replays.wesnoth.org/dashboard/ and has its own github repo in the wesnoth organizationPentarctagon wrote: ↑February 25th, 2024, 8:31 pm Do you mean https://github.com/wesnoth/wesnoth/issues/7935 ? Otherwise I can't find anything particularly related by searching those terms on https://github.com/wesnoth/wesnoth/issues
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
- Pentarctagon
- Project Manager
- Posts: 5592
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: API for match history
I'll update https://wiki.wesnoth.org/MultiplayerserverWML with the current API. Also, other data can potentially be added, both to the request and to the response. The main thing being the query can't take too long (more than a couple seconds) to complete.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code