call the last xx games

Sort:
Avatar of Italian-Player

hi, 

I tried how to call my games with my curl

like https://api.chess.com/pub/player/erik/games/2009/10/pgn

but if the month changes I am forced to change the code,

and if in the month there are no games I have an empty list.

it would be better to call the last xx games so you always have something and not having to change the code.

Avatar of Martin_Stahl
Italian-Player wrote:

hi, 

I tried how to call my games with my curl

like https://api.chess.com/pub/player/erik/games/2009/10/pgn

but if the month changes I am forced to change the code,

and if in the month there are no games I have an empty list.

it would be better to call the last xx games so you always have something and not having to change the code.

 

Probably best to post that in the developer club.

 

https://www.chess.com/developers