{"library":"opencage","title":"OpenCage Geocoder","description":"Python wrapper for the OpenCage Geocoder API. Provides forward and reverse geocoding, timezone lookups, and formatted output. Current version: 3.3.1, supports Python >=3.9, maintained actively.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install opencage"],"cli":null},"imports":["from opencage.geocoder import OpenCageGeocode"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from opencage.geocoder import OpenCageGeocode\nimport os\n\nkey = os.environ.get('OPENCAGE_API_KEY', 'YOUR-API-KEY')\ng = OpenCageGeocode(key)\nresult = g.geocode('London')\nprint(result[0]['geometry'] if result else 'No results')","lang":"python","description":"Initialize with API key and geocode an address.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}