TypebotT
Typebot10mo ago
6 replies
sullivan.mrr

How to return multiple cities from the API and set a variable with the INSEE code when a city label

I made an API call to https://api-adresse.data.gouv.fr/search/. I would like to return x cities and when I click on one, it should set a variable with the INSEE code instead of the label displayed on the button. Is it possible to do this?
Was this page helpful?