Adding opponent APS in bot comparison?

From RoboWiki
Fragment of a discussion from Talk:LiteRumble
Jump to: navigation, search

Done. I also added a link on the BotDetails page to find the bot on the wiki.

Skilgannon (talk)16:19, 9 September 2017

Awesome! Thanks a lot.

Since you in a wish granting mood, would it be possible to have api call which returns only summary table with APS, PWIN, etc for a given bot in a given game. Right now, I parse but its spits the whole comparison table, which is overkill and wastes the bandwidth. All I need is info stored in the header table.

I do it to plot APS vs bot version for my bot, but I can imagine other will be interested in this too.

Beaming (talk)19:08, 9 September 2017

You can do this with the &limit=0. limit works in both api and html mode, you could also do a sort with a limit=1 to just get a best/worst opponent, etc.

Skilgannon (talk)19:14, 9 September 2017

Thanks. It does the trick. Which brings the question: is API published anywhere? I get what I had by looking at the source, but clearly did not look careful enough.

I see that there are dark parts for exchanging with rumble clients too.

Beaming (talk)19:23, 9 September 2017

No published API, no. That said, with JSON I don't plan to remove any fields. It is possible field might be added though, which is why I wanted to use JSON to begin with.

Skilgannon (talk)19:50, 9 September 2017

WoW that's amazing! Thanks a lot!

Xor (talk)22:27, 9 September 2017
Personal tools