updated getToday API