Completed the API tutorial