geocoding-api icon indicating copy to clipboard operation
geocoding-api copied to clipboard

Add adminX_code in results

Open papjul opened this issue 2 years ago • 0 comments

Previous discussion: open-meteo/open-meteo#355

Reopening here as I opened it on the wrong repo.


Initial message:

Just like we have country_code (IT, FR, etc), would it be possible to add admin1_code, admin2_code, etc?

image

image

This will be useful for #351 as Météo-France emits alerts by admin2 and using the admin2_code is much easier than having to parse the admin2 translatable field.

Thank you!

papjul avatar Aug 16 '23 12:08 papjul