an API is for interacting with a computer program