API consumption practice