API : query a card on a filtered dataset


I am currently working with the Metabase API. I can easily query a dashboard and cards even with parameters. Now, I need to query a card with parameters that are not filters. Let me explain:
The queried table follows the following pattern :

ID District Latitude Longitude ...
X X X X ...

My query only has a filter on the district column but I need to run my query on the dataset filtered by latitudes and longitudes. I tried to work around the problem by adding filters on the latitude and longitude columns but there is no filter type for these data so I can't.

Is there any way to achieve this ?


Hi @Valentin
The best way to learn the API, is to just use Metabase while having your browser developer Network-tab open and looking at the request, and what data is being send/received.