API and player