finish calendar api