LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=45.705506707813264+9.6602168520037281
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2408,"reset":1735344000},"results":[{"annotations":{"DMS":{"lat":"45\u00b0 42' 20.86416'' N","lng":"9\u00b0 39' 37.73412'' E"},"MGRS":"32TNR5141261572","Maidenhead":"JN45tq99gj","Mercator":{"x":1075399.905,"y":5702731.015},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITC"},"NUTS2":{"code":"ITC4"},"NUTS3":{"code":"ITC46"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?way=304482734#map=17/45.70580/9.66048","note_url":"https://www.openstreetmap.org/note/new#map=17/45.70580/9.66048&layers=N","url":"https://www.openstreetmap.org/?mlat=45.70580&mlon=9.66048#map=17/45.70580/9.66048"},"UN_M49":{"regions":{"EUROPE":"150","IT":"380","SOUTHERN_EUROPE":"039","WORLD":"001"},"statistical_groupings":["MEDC"]},"callingcode":39,"currency":{"alternate_symbols":[],"decimal_mark":",","html_entity":"\u20ac","iso_code":"EUR","iso_numeric":"978","name":"Euro","smallest_denomination":1,"subunit":"Cent","subunit_to_unit":100,"symbol":"\u20ac","symbol_first":0,"thousands_separator":"."},"flag":"\ud83c\uddee\ud83c\uddf9","geohash":"u0nu5b6x99c68rbre893","qibla":124.46,"roadinfo":{"drive_on":"right","road":"Via della Boccola","speed_in":"km/h"},"sun":{"rise":{"apparent":1735282920,"astronomical":1735276440,"civil":1735280880,"nautical":1735278600},"set":{"apparent":1735314180,"astronomical":1735320660,"civil":1735316220,"nautical":1735318500}},"timezone":{"name":"Europe/Rome","now_in_dst":0,"offset_sec":3600,"offset_string":"+0100","short_name":"CET"},"what3words":{"words":"mistaken.agrees.selects"},"wikidata":"Q112319226"},"bounds":{"northeast":{"lat":45.7059939,"lng":9.6607363},"southwest":{"lat":45.7055156,"lng":9.6601801}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-25","IT-BG"],"_category":"travel/tourism","_normalized_city":"Bergamo","_type":"hotel","city":"Bergamo","continent":"Europe","country":"Italy","country_code":"it","county":"Bergamo","county_code":"BG","hotel":"Piazza Lorenzo Mascheroni","neighbourhood":"Citt\u00e0 Alta","political_union":"European Union","postcode":"24112","road":"Via della Boccola","state":"Lombardy","suburb":"Citt\u00e0 Alta"},"confidence":9,"distance_from_q":{"meters":38},"formatted":"Piazza Lorenzo Mascheroni, Via della Boccola, 24112 Bergamo BG, Italy","geometry":{"lat":45.7057956,"lng":9.6604817}}],"status":{"code":200,"message":"OK"},"stay_informed":{"blog":"https://blog.opencagedata.com","mastodon":"https://en.osm.town/@opencage"},"thanks":"For using an OpenCage API","timestamp":{"created_http":"Fri, 27 Dec 2024 09:11:41 GMT","created_unix":1735290701},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Bergamo","county_code":"BG","hotel":"Piazza Lorenzo Mascheroni","neighbourhood":"Citt\u00e0 Alta","political_union":"European Union","postcode":"24112","road":"Via della Boccola","state":"Lombardy","suburb":"Citt\u00e0 Alta"},"confidence":9,"distance_from_q":{"meters":38},"formatted":"Piazza Lorenzo Mascheroni, Via della Boccola, 24112 Bergamo BG, Italy","geometry":{"lat":45.7057956,"lng":9.6604817}}],"status":{"code":200,"message":"OK"},"stay_informed":{"blog":"https://blog.opencagedata.com","mastodon":"https://en.osm.town/@opencage"},"thanks":"For using an OpenCage API","timestamp":{"created_http":"Fri, 27 Dec 2024 09:11:41 GMT","created_unix":1735290701},

Be