Hi Shreya ,
You can refer the below link to check the Microsoft APIs which can be use to fetch calendar of another user .
Get calendar - Microsoft Graph v1.0 | Microsoft Learn
Note- To read calendar of another user , User must gave you permission to read his/her calendar else you can only see if they are busy in certain timeslot or not . With permission you can actually see the meeting other person have in any timeslot .