add an api to get player stats