Fetch tournament total points for players

Sort:
Avatar of ali9876543210123

Hello,

I want to know if, is there any API to give the total points of players of the tournament?
currently, points are only available round-wise via round information endpoint. 
I'm trying to get data shown in the image in the least number of API calls.
https://nimb.ws/yl5BLt


Avatar of io_kloud

* Get the tour-id

* Get the w/l/d result of the player participating in that tour-id.

 

Avatar of ali9876543210123

so, for that which API do we need to use.

Avatar of io_kloud

Once you get the tour-id to get the participating players you can then use the https://api.chess.com/pub/player/{username}/tournaments to get the player record.

Avatar of ali9876543210123

If I opt for this method, then I have to call API for each player suppose 16 players I have to call API 16 times but if I opt for my method I would have to make only 2 API calls or even 6-7 even if there are multiplex round and groups So your method is doing the opposite of what I'm trying to do i.e minimize API requests.

Avatar of Martin_Stahl

I haven't looked, but it's very possible the data you want is not presented by the API in any other way, so you'll likely need to make multiple calls.

Avatar of io_kloud

@ali9876543210123 try your method let's see if you can get what you want.

Avatar of Guest6373486684
Please Sign Up to comment.

If you need help, please contact our Help and Support team.