|
35 | 35 |
|
36 | 36 | __all__ = ['GooglePlaces', 'GooglePlacesError', 'GooglePlacesAttributeError',
|
37 | 37 | 'geocode_location']
|
38 |
| -__version__ = '1.2.0' |
| 38 | +__version__ = '1.3.0' |
39 | 39 | __author__ = 'Samuel Adu'
|
40 | 40 | __email__ = 'sam@slimkrazy.com'
|
41 | 41 |
|
@@ -246,10 +246,10 @@ def nearby_search(self, language=lang.ENGLISH, keyword=None, location=None,
|
246 | 246 | (imply no radius argument).
|
247 | 247 | sensor -- Indicates whether or not the Place request came from a
|
248 | 248 | device using a location sensor (default False).
|
249 |
| - type -- Optional type param used to indicate place category |
| 249 | + type -- Optional type param used to indicate place category. |
250 | 250 | types -- An optional list of types, restricting the results to
|
251 | 251 | Places (default []). If there is only one item the request
|
252 |
| - will be send as type param |
| 252 | + will be send as type param. |
253 | 253 | """
|
254 | 254 | if location is None and lat_lng is None:
|
255 | 255 | raise ValueError('One of location or lat_lng must be passed in.')
|
@@ -305,10 +305,10 @@ def text_search(self, query, language=lang.ENGLISH, lat_lng=None,
|
305 | 305 | (default 3200)
|
306 | 306 | query -- The text string on which to search, for example:
|
307 | 307 | "Restaurant in New York".
|
308 |
| - type -- Optional type param used to indicate place category |
| 308 | + type -- Optional type param used to indicate place category. |
309 | 309 | types -- An optional list of types, restricting the results to
|
310 | 310 | Places (default []). If there is only one item the request
|
311 |
| - will be send as type param |
| 311 | + will be send as type param. |
312 | 312 | """
|
313 | 313 | self._request_params = {'query': query}
|
314 | 314 | if lat_lng is not None or location is not None:
|
|
0 commit comments