Web services we use - neayi/soil_and_culture_gps GitHub Wiki

For IP addresses

To get your personal IP address

https://whatismyipaddress.com/fr/mon-ip

To convert IP addresses to GPS coordinates

First, you need to get your $TOKEN key on http://ipinfo.io/. Then you can get the GPS coordinates corresponding to the given IP address ($ip) with this http request http://ipinfo.io/$ip/geo?token=$TOKEN.

For Postal Codes

We can get GPS coordinates from a postal code ($pc), with this http request https://api-adresse.data.gouv.fr/search/?q=$pc.