link to sample api script