• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Question: Challonge API handling for grouped events

iRJi

Smash Champion
Joined
Sep 9, 2008
Messages
2,423
Good afternoon!

I am looking around the challonge API to create a ranking system for my region. It would be a bit more in depth then the ranking system that Smashboards uses. I am almost done with the system, but I wanted to know or wanted to see if anyone knew how the link structure is setup to handle grouped events in Challonge. To clarify, grouped events in Challonge is basically bracket pools. I want to incorporate the bracket pools into the system if possible instead of just the top-cut for the event.

Link structures for challonge are typically like this: Tournament ID (e.g. 10230) or URL (e.g. 'single_elim' for challonge.com/single_elim). If assigned to a subdomain, URL format must be :subdomain-:tournament_url (e.g. 'test-mytourney' for test.challonge.com/mytourney).

If a bracket link for Challonge was "http://challonge.com/myevent" the api input would be "myevent". However, if there is a subdomain for the event bracket IE: "test.challonge.com/myevent" it would be "test-myevent" for the api input. The issue I am running into currently is that with grouped events, you would have a link that's like this:

"http://challonge.com/myevent/groups" and with a subdomain it would be "test.challonge.com/myevent/groups"

How would I incorporate the groups section of the link into the API so that it can include the brackets?

If this is in the wrong section, please move or let me know.

Thank you!
 
Top Bottom