easiest way to call an API