implemented the player api resource