Python module to access the OpenCage geocoding API
OpenCage Geocoding Module for Python A Python module to access the OpenCage Geocoder. Usage Supports Python 3.6 or newer. Use the older opencage 1.x releases if you need Python 2.7 support. Install the module: pip install opencage Load the module: from opencage.geocoder import OpenCageGeocode Create an instance of the geocoder module, passing a valid OpenCage Data Geocoder API keyas a parameter to the geocoder modules’s constructor: key = ‘your-api-key-here’ geocoder = OpenCageGeocode(key) Pass a string containing the query or address […]
Read more