HubSpot interview question

Utilizing REST endpoints with some JSON manipulation to figure out the optimal dates to hold an event