Calendar api integration