Sorry to necro this, but there's a little bit of interest in NZ in putting results up here but we're 100% challonge. I don't know what your backend is written in, but garpr.com's source code is open, including a challonge scraper. It's written in Python and designed to feed data into his models for matches etc. But the layer from a JSON dict to whatever format you need for your website is pretty trivial. I'm not sure how you'd integrate Python scripts in your framework or whether you'd need to port it to whatever but it's there.
04/28/2015 07:28:41
There is nothing wrong with posting this info omg this is useful.
The Challonge API is actually pretty good to work with, the biggest problem for me is actually building the TioPro file dynamically which I don't have down. Also Challonge pushes people through to losers bracket differently and that part has always required hand crafting but I think eventually it should be automated.
This place isn't built in Python, but it's not too hard to reverse engineer Python code so this is definitely useful. JSON is also very transferrable between disparate systems so this is a great thing. Thank you so much for posting this! :D
If I can get this process worked out then I then I have a longer term goal to basically integrate a Challonge like UI into QLD Smash that uses TioPro but that's a really big task and would need to be tested on wifi tourneys first. After a few weeks of eat sleep code repeat I seem to be getting 100% success with scraping Challonge double elimination brackets. I can't get round robin currently from the API which is a problem but may change in the future and I'm not too concerned about single elim at this point.
The code is still quite fragile so I'm going to need to be in contact with the tourney admins if anybody has problems importing results. BAM will be a nice test for this if it's run in Challonge. The contact form for submitting results ahs also been updated to allow Challonge URLs to be submitted instead of Tio brackets.
05/21/2015 12:31:56
The Challonge API is actually pretty good to work with, the biggest problem for me is actually building the TioPro file dynamically which I don't have down. Also Challonge pushes people through to losers bracket differently and that part has always required hand crafting but I think eventually it should be automated.
This place isn't built in Python, but it's not too hard to reverse engineer Python code so this is definitely useful. JSON is also very transferrable between disparate systems so this is a great thing. Thank you so much for posting this! :D
If I can get this process worked out then I then I have a longer term goal to basically integrate a Challonge like UI into QLD Smash that uses TioPro but that's a really big task and would need to be tested on wifi tourneys first. After a few weeks of eat sleep code repeat I seem to be getting 100% success with scraping Challonge double elimination brackets. I can't get round robin currently from the API which is a problem but may change in the future and I'm not too concerned about single elim at this point.
The code is still quite fragile so I'm going to need to be in contact with the tourney admins if anybody has problems importing results. BAM will be a nice test for this if it's run in Challonge. The contact form for submitting results ahs also been updated to allow Challonge URLs to be submitted instead of Tio brackets.
05/21/2015 12:31:56
Last time I had to convert a challonge bracket I was overcome with misery and hopelessness. Recently, the threat of converting an 81 man bracket loomed on the horizon. But now, the path is clear. Praise be to Shitashi, giver of code, protector of free time. He who works so that others may not. Raise your voices in prayer, and dance in joy and honour of thy holy admin.
05/21/2015 16:00:38
05/21/2015 16:00:38
This is not working as expected with the BAM Melee bracket, so either somebody has to recreate that one manually or wait for me to figure out what's going wrong there. I've never seen a tournament where the pools are double elimination brackets without a grand final, so it's doing weird things.
The pools have to be recreated manually anyway because the group stage isn't available through the Challonge API. The pool results aren't recorded but the matches still count towards ELO.
05/24/2015 13:05:58
The pools have to be recreated manually anyway because the group stage isn't available through the Challonge API. The pool results aren't recorded but the matches still count towards ELO.
05/24/2015 13:05:58