External file for api calls