I am making API call to import data into Drupal. The API provides 2 filters by which I can get the data. Now I want to apply additional filter on the returned data and only save data which validate the third filter. E.g. The API - http://example.com/users?country=US&state=NY Requirement - I want to import users data into Drupal only if users age is above 18 (And from US-NYC).
Now the API do not have age filter, but it provides age in the response. How can I write a code to ask feed importer to skip import if age is below 18.
Hope I am clear asking this question.