Obtenir l'adresse IP GEO DATA EN JavaScript

fetch(`https://ipinfo.io/USERIPADDRESS?token=YOUR-TOKEN-FROM-IPINFOSITE`).then(response => response.text()).then(data => {
	console.log(data)
});
Adventurous Ant