Comment récuperer key api sur le site OpenStreetMap

Bonjour ! Pouvez-vous m’indiquer la procédure pour récupérer une clé key api pour écrire une procédure en python.
Merci pour votre aide

Questions arise on what you aim to do, but did you take a look at GitHub - metaodi/osmapi: Python wrapper for the OpenStreetMap API, which interfaces with with OSM API in Python?

In brief, there’s no need to get an API key to interact with OSM data in Python, but you’ll need to authenticate with OAuth 2.0, for which you

must register an application with an OpenStreetMap account, either on the development server or on the production server. Once this registration is done, you’ll get a client_id and a client_secret that you can use to authenticate

2 Likes

Note that library linked above is for Editing API.

I suspect that you would be better served by obtaining data ( Downloading data - OpenStreetMap Wiki ) and processing it but it depends what exactly you are trying to do

1 Like