Skip to content

Commit b0c9169

Browse files
committed
Added google for work documentation
1 parent ac68cab commit b0c9169

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/providers/Google.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Basic Geocoding
1414

1515
.. code-block:: python
1616
17-
>>> import geocoder # pip install geocoder
17+
>>> import geocoder
1818
>>> g = geocoder.google('Mountain View, CA')
1919
>>> g.json
2020
...
@@ -73,13 +73,18 @@ Parameters
7373
~~~~~~~~~~
7474

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

7882
- geocode
7983
- reverse
8084
- timezone
8185
- elevation
8286

87+
8388
References
8489
~~~~~~~~~~
8590

geocoder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
__title__ = 'geocoder'
2929
__author__ = 'Denis Carriere'
3030
__author_email__ = 'carriere.denis@gmail.com'
31-
__version__ = '1.5.1'
31+
__version__ = '1.5.2'
3232
__license__ = 'MIT'
3333
__copyright__ = 'Copyright (c) 2013-2015 Denis Carriere'
3434

0 commit comments

Comments
 (0)