Fetch tournament total points for players

Sort:
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


io_kloud

* Get the tour-id

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

 

ali9876543210123

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

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.

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.

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.

io_kloud

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