How I can get element 'is-online'

Sort:
bovgit

Hi all!
There is example 'https://api.chess.com/pub/player/erik/is-online'
in chapter 'Player online status'
on 'https://www.chess.com/news/view/published-data-api'.
Data Format must be:
{
"online": boolean, //true or false
}
I call 'https://api.chess.com/pub/player/erik/is-online'
and has result:
{"code":0,
"message":"Data provider not found for key \"/pub/player/erik/is-online\"."
}
What am I doing wrong ?

Tricky_Dicky

https://www.chess.com/clubs/forum/view/api-rfc-deprecate-and-remove-is-online-endpoint

bovgit

Thank you !

dimpoul

On the same note, is there any Public API that shows if a chess.com streamer is Streaming or Actively Playing a Live game? Thanks. Dimpoul