JSON of Calendar Events Using PHP variables 

Here’s an example API query that pulls all events from this week (Sunday to Sunday) using PHP-date-readable start_date and end_date strings:

http://purchase.edu/live/json/events/start_date/last Sunday/end_date/this Sunday/

This link produces a JSON string with all of the events from Sunday to Sunday of this week.

You can use any of the event data provided however you like.