-
Notifications
You must be signed in to change notification settings - Fork 10
[Feature Request] Toornament API integration #50
Comments
Create tournament. |
Ohhhkay, so you would still have to import the matches yourself, then? But at the end, the matches will also be automatically updated on the Toornament website, right? |
Yeah as an example, if it's possible. |
Was thinking about this the other day. The first bit is rather simple, it's simply grabbing data from the tournament page, which won't be hard to implement. The hard part would be converting the data to something that is accessible for the web-panel because I can guarantee it's not going to be the same data. Have a dedicated page to show Toornament matches, or grab a list of Tournaments via API, and loop through and display each in table? Import button will probably grab all the required data via JSON I assume, and then we need to fit it for our DB, possibly creating a new Season for it, that's listed for the event dates, create new teams if they don't exist, and then create the match. Something like that could possibly work? |
I'm pretty sure, there is something, you can find. (You can e.g check how the code looks via eBot) As example: I mean you can watch how the toournament/eBot API has seemed: Dunno, about it, can help. ^^ |
API key has been requested so I can eventually get to implementing and testing it. |
Just realized we wouldn't have to have server-less match creation. Since we're calling an API, we can populate our data from the API, and only create the match once we are set. Brackets/etc can remain in the API until we go "Import" match, which would then require a server. Offloading some of the database work, and not having to worry about server-less match creation just yet. |
Moving this to help wanted as this should be a release in of itself. There's a lot to digest and I'm not sure if I am going to have ample enough time to complete this. If someone wants to read over the APIs, and figure out what exact calls are needed to:
|
I don't Know pythons but i use api Toornament on php |
This goes hand-in-hand with #112. Considering you can create teams, and matches with Toournament, and probably receive them in JSON, it shouldn't be too bad, so long as you have an associated user ID when you initially get the data. |
Seems that larger Tornament places tend to use this service. Shouldn't be bad to implement. Will probably create sub tasks of this or just make a checklist within this issue.
The text was updated successfully, but these errors were encountered: