using env for api key and helper for api paths + params