The data is in JSON format. The command below outputs the last rapid chess rating.
$(eval JSON.parse(decodeURIComponent(`$(querystring $(urlfetch json https://api.chess.com/pub/player/erik/stats))`)).chess_rapid.last.rating||`Error!`)
The data is in JSON format. The command below outputs the last rapid chess rating.
$(eval JSON.parse(decodeURIComponent(`$(querystring $(urlfetch json https://api.chess.com/pub/player/erik/stats))`)).chess_rapid.last.rating||`Error!`)