je cherche a localiser mon téléphone android j'ai trouve une Solution avec Google
si avec mon Raspi je consulte cette adresse
qui me renvoishttps://www.googleapis.com/geolocation/ ... ocate?key=[use your Google API key]
je cherche a déchiffré ce fichier pour qu'il me reste que la localisation et l'envoyer a DomoticzHTTP/1.1 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Mon, 01 Jan 1990 00:00:00 GMT
Date: Sat, 15 Oct 2016 11:28:02 GMT
Vary: X-Origin
Content-Type: application/json; charset=UTF-8
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="36,35,34"
Accept-Ranges: none
Vary: Origin,Accept-Encoding
Transfer-Encoding: chunked
{
"location": {
"lat": 48.7042527,
"lng": 6.1810541
},
"accuracy": 2695.0
}
Merci d'avance