'Initialize a customized Google geocoder with location-specific
address information and your Google Maps API key.
``api_key`` should be a valid Google Maps API key. Required as per Google Geocoding API
V2 docs, but the API works without a key in practice.
``domain`` should be the localized Google Maps domain to connect to. The default
is \'maps.google.com\', but if you\'re geocoding address in the UK (for
example), you may want to set it to \'maps.google.co.uk\' to properly bias results.
``format_string`` is a string containing \'%s\' where the string to
geocode should be interpolated before querying the geocoder.
For example: \'%s, Mountain View, CA\'. The default is just \'%s\'.'

def __init__(self, api_key=None, domain='maps.googleapis.com', format_string='%s'):

    warn((((('geopy.geocoders.google:    The    `geocoders.google.Google`    geocoder    uses    the    ' + 'older    "V2"    API    and    is    deprecated    and    may    be    broken    at    any    time.    A    ') + 'geocoder    utilizing    the    "V3"    API    is    available    at    ') + '`geocoders.googlev3.GoogleV3`    and    will    become    the    default    in    a    future    ') + 'version.    See    RELEASES    file    and    http://goo.gl/somDT    for    usage    information.'), DeprecationWarning)
    if (not api_key):
        raise ValueError(((((('The    `geocoders.google.Google`    (V2)    API    now    requires    the    ' + '`api_key`    argument.    Please    acquire    and    use    an    API    key    ') + '(http://goo.gl/EdoHX)    or    upgrade    to    ') + 'the    V3    API    (`geocoders.googlev3.GoogleV3`),    which    does    ') + 'not    require    a    key.    ----    Please    note    that    the    V2    API    is    ') + 'deprecated    and    may    not    work    after    March    2013    or    September    2013.'))
    if (domain == 'maps.google.com'):
        raise ValueError((('The    `geocoders.google.Google`    (V2)    API    now    requires    the    ' + "`domain`    argument    to    be    set    to    'maps.googleapis.com'.    Please    ") + 'change    or    remove    your    `domain`    kwarg.'))
    self.api_key = api_key
    self.domain = domain
    self.format_string = format_string
    self.output_format = 'json'
