API example scripts for specific tasks