Abstracted out api-call mechanics