Fill api data with a legislation and year.