basic python example that lists events between timeframe for user