I have used an API which is fetching data from some database and i want to apply filters depending on some categories. Can anyone tell me how to do it?