Adding player api.