A basic introduction to API and XML