simple method to access api