ppy / osu-api

Public API for accessing osu! related data.
320 stars 16 forks source link

Return end_time for games[x] that have been aborted #230

Open DarkStoorM opened 5 years ago

DarkStoorM commented 5 years ago

Is there a possibility in the future to get an end_time for games that have been aborted by the host or at least have an indication of the current game being aborted?

I have a "lobby listener" for our weekly matches and I have ran into a small issue, where next games were not being picked because of a loop checking the game and waiting for end_time and scores[] to be present/filled (at the moment I treat such games as ongoing).

At this point I could check if there are new games present in the games[] array and perform new checks. Is it a better approach to meanwhile check for the end_time/scores on next game(s)? It would make things easier if I knew the returned game was aborted.

obraz