Skip to content

Commit

Permalink
Added google for work documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Aug 15, 2015
1 parent ac68cab commit b0c9169
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/providers/Google.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Basic Geocoding

.. code-block:: python
>>> import geocoder # pip install geocoder
>>> import geocoder
>>> g = geocoder.google('Mountain View, CA')
>>> g.json
...
Expand Down Expand Up @@ -73,13 +73,18 @@ Parameters
~~~~~~~~~~

- `location`: Your search location you want geocoded.
- `key`: Your Google developers free key.
- `language`: 2-letter code of preferred language of returned address elements.
- `client`: Google for Work client ID. Use with client_secret. Cannot use with key parameter
- `client_secret`: Google for Work client secret. Use with client.
- `method`: (default=geocode) Use the following:

- geocode
- reverse
- timezone
- elevation


References
~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion geocoder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
__title__ = 'geocoder'
__author__ = 'Denis Carriere'
__author_email__ = '[email protected]'
__version__ = '1.5.1'
__version__ = '1.5.2'
__license__ = 'MIT'
__copyright__ = 'Copyright (c) 2013-2015 Denis Carriere'

Expand Down

0 comments on commit b0c9169

Please sign in to comment.