Skip to content

Instantly share code, notes, and snippets.

View akshayhs's full-sized avatar

Akshay Harith akshayhs

  • Bangalore, Karnataka
  • 09:34 (UTC +05:30)
  • LinkedIn in/akshayhs
View GitHub Profile
@akshayhs
akshayhs / sample_geocode_result.py
Created October 13, 2021 14:21
Django and Google maps: Extracting the coordinates for a given location in string using Geocoding API
# Please read carefully
# The code below relies on Google Maps API services, precisely the Geocoding API.
# In order to play with the code below, you will need a Google Maps API key with all the above API enabled in your Google Cloud API dashboard
from django.conf import settings
from pprint import pprint
# Assuming googlemaps python module has been installed
from googlemaps import Client