Use pastDays parameter instead of from/to for simplicity.