lecture slides on APIs