Deutsch   English   Français   Italiano  
<u4gbfe$27ur4$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Dominique <zzz@aol.com>
Newsgroups: fr.comp.os.linux.configuration
Subject: Re: API Google
Date: Mon, 22 May 2023 20:15:10 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <u4gbfe$27ur4$1@dont-email.me>
References: <u4g4v3$27a6m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 May 2023 18:15:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2a97949a0725a91dd666f801f3725667";
	logging-data="2358116"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX199ZB57I38WAEQve5BOQwR93/uHFwQGRrk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.10.1
Cancel-Lock: sha1:r5m1TWzjn8ohp4m4AXXAQjYAIlk=
Content-Language: fr
In-Reply-To: <u4g4v3$27a6m$1@dont-email.me>
Bytes: 1535

Le 22/05/2023 à 18:24, Dominique a écrit :

J'ai trouvé, il faut que je configure le chemin qui sera, ensuite passé 
à requests.get() :

coor=coor=str(latitude)+','+str(longitude)

chemin='https://maps.googleapis.com/maps/api/geocode/json?latlng='+coor+'&key=Ma_Clef_API'

reponse=requests.get(chemin)

Ça marche. Ensuite, il reste à trouver la localisation approximative 
dans la flopée d'informations que me rend Google :)

-- 
Dominique
Courriel : dominique point sextant ate orange en France
Esto quod es