User talk:Cobrophy

Tournament Bot
Hello! I've seen your message to Mpcovcd‎ here. I'm the one handling the competitive scene around here, and would be extremely interested in the use of your bot. Would you be able to provide more details on your bot? (I can get match IDs easily btw). Redefining history 11:32, 27 July 2012 (UTC)


 * I just uploaded to github here: https://github.com/cobrophy/Dota-2-API-to-Wiki
 * The readme should hopefully explain how to use it. You basically need to get an api key (which is straightforward) and add it to the code - cause you're not allowed to share your api key. You need to have python installed. Then just run (where 12345678 is the match id):
 * python DotaApiToWiki.py 12345678
 * in your command prompt or terminal and it should create a text file named 12345678 - mTw v Next.kz with the wiki code
 * I expect that it might be a bit buggy still and the output may need to be tweaked to get it right so any help testing would be appreciated.
 * I'm on irc today as Colabear if you want to message me. Cobrophy 11.47, 27 July 2012 (UTC)
 * I expect that it might be a bit buggy still and the output may need to be tweaked to get it right so any help testing would be appreciated.
 * I'm on irc today as Colabear if you want to message me. Cobrophy 11.47, 27 July 2012 (UTC)
 * I'm on irc today as Colabear if you want to message me. Cobrophy 11.47, 27 July 2012 (UTC)


 * Neat, we've been hoping somebody would make this. Are bans accessible via the API? --Kroocsiogsi 18:42, 27 July 2012 (UTC)


 * Unfortunately not. I expect it's on the to do list, though they've said there probably wont be much happening until after the International. Private games also aren't accessible which is a big drawback, though the tournaments that appear on the tournaments page in the game client are accessible if you have a ticket tied to your account.


 * Also while bans aren't accessible, items, xp, gold etc (everything on the end game scoreboard) are. Cobrophy 18.47, 27 July 2012 (UTC)


 * We could, in theory, get the bans by using a replay parsing tool. Note I say "in theory" because the replays are rather large and difficult to parse (uncompressed, they are ~100MB text files). Something like this: http://mozphere.github.com/demSurfer/ might do it (I'm not sure if that shows bans or not). -Baloroth 20:00, 27 July 2012 (UTC)


 * Had a look at the dem surfer tool. It's pretty cool, though doesn't seem to pull out the bans currently. It is probably doable though since the picks and bans are part of the replay. That said, I think using the API is ultimately the right way to solve the problem though it lacks all the features we need currently. Cobrophy 08.41, 01 August 2012 (UTC)