Read available time slot in a calendar

Hey folks,

Just need to know how can I read available slots in calendar to book appointments. If possible, I would like to understand generic calendar scanning. Like I have a web application written in say angular and developer used the calendar API from angular library. Another application might have used say Kendo calendar.

Any information will really help me achieving what I intended.