LAT:
LON:
http://api.opencagedata.com/geocode/v1/json?key=cef8b9348365183fdeb3d61beb5eb795&q=40.780913299707088+8.5903324178168727
{"documentation":"https://opencagedata.com/api","licenses":[{"name":"see attribution guide","url":"https://opencagedata.com/credits"}],"rate":{"limit":2500,"remaining":2361,"reset":1735344000},"results":[{"annotations":{"DMS":{"lat":"40\u00b0 46' 51.49236'' N","lng":"8\u00b0 35' 25.23480'' E"},"MGRS":"32TML6543314523","Maidenhead":"JN40hs07uk","Mercator":{"x":956272.608,"y":4952172.888},"NUTS":{"NUTS0":{"code":"IT"},"NUTS1":{"code":"ITG"},"NUTS2":{"code":"ITG2"},"NUTS3":{"code":"ITG2D"}},"OSM":{"edit_url":"https://www.openstreetmap.org/edit?node=10539707497#map=16/40.78097/8.59034","note_url":"https://www.openstreetmap.org/note/new#map=16/40.78097/8.59034&layers=N","url":"https://www.openstreetmap.org/?mlat=40.78097&mlon=8.59034#map=16/40.78097/8.59034"},"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":"spnpgrzq3eb42495kt3h","qibla":116.75,"roadinfo":{"drive_on":"right","road":"Circonvallazione di Sennori","speed_in":"km/h"},"sun":{"rise":{"apparent":1735282200,"astronomical":1735276260,"civil":1735280340,"nautical":1735278240},"set":{"apparent":1735315440,"astronomical":1735321380,"civil":1735317300,"nautical":1735319400}},"timezone":{"name":"Europe/Rome","now_in_dst":0,"offset_sec":3600,"offset_string":"+0100","short_name":"CET"},"what3words":{"words":"rousing.bashing.calms"}},"bounds":{"northeast":{"lat":40.7810201,"lng":8.590393},"southwest":{"lat":40.7809201,"lng":8.590293}},"components":{"ISO_3166-1_alpha-2":"IT","ISO_3166-1_alpha-3":"ITA","ISO_3166-2":["IT-88","IT-SS"],"_category":"commerce","_normalized_city":"S\u00e8nnaru/Sennori","_type":"shop","continent":"Europe","country":"Italy","country_code":"it","county":"Sassari","county_code":"SS","political_union":"European Union","postcode":"07036","road":"Circonvallazione di Sennori","shop":"Il Giglio Dolci di Sardegna","state":"Sardinia","village":"S\u00e8nnaru/Sennori"},"confidence":9,"distance_from_q":{"meters":6},"formatted":"Il Giglio Dolci di Sardegna, Circonvallazione di Sennori, 07036 S\u00e8nnaru/Sennori SS, Italy","geometry":{"lat":40.7809701,"lng":8.590343}}],"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:32:00 GMT","created_unix":1735291920},"total_results":1}
la citta ricavata con /"county":"(.*),/ e': "county":"Sassari","county_code":"SS","political_union":"European Union","postcode":"07036","road":"Circonvallazione di Sennori","shop":"Il Giglio Dolci di Sardegna","state":"Sardinia","village":"S\u00e8nnaru/Sennori"},"confidence":9,"distance_from_q":{"meters":6},"formatted":"Il Giglio Dolci di Sardegna, Circonvallazione di Sennori, 07036 S\u00e8nnaru/Sennori SS, Italy","geometry":{"lat":40.7809701,"lng":8.590343}}],"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:32:00 GMT","created_unix":1735291920},

Sa