{"library":"overpy","title":"Overpy - Overpass API Wrapper","description":"Overpy is a Python wrapper for the OpenStreetMap Overpass API, allowing querying of OSM data with Overpass QL. Current version is 0.7, requiring Python >=3.6. Release cadence is low; the library is in maintenance mode.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install overpy"],"cli":null},"imports":["from overpy import Overpass","from overpy import OverpassException"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import overpy\n\napi = overpy.Overpass()\nresult = api.query(\"\"\"\n    node(50.745,7.17,50.75,7.18)[\"amenity\"=\"restaurant\"];\n    out body;\n\"\"\")\nfor node in result.nodes:\n    print(f\"Node ID: {node.id}, Tags: {node.tags}\")","lang":"python","description":"Initialize Overpass API, run a query, and iterate over results.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}