22from googlemaps import convert
33
44
5+ async def find_place (client , query , input_type , fields = None ,
6+ language = None , location_bias = None ):
7+ return await googlemaps .places .find_place (
8+ client , query , input_type , fields = fields ,
9+ language = language , location_bias = location_bias
10+ )
11+
12+
513async def places (client , query , location = None , radius = None , language = None ,
6- min_price = 0 , max_price = 4 , open_now = False , type = None ,
14+ min_price = None , max_price = None , open_now = False , type = None ,
715 page_token = None ):
816
917 return await googlemaps .places .places (
@@ -13,14 +21,13 @@ async def places(client, query, location=None, radius=None, language=None,
1321 )
1422
1523
16- async def place (client , place_id , fields = None , language = None ):
17- return await googlemaps .places .place (
18- client , place_id , fields = fields , language = language
19- )
24+ async def place (client , place_id , language = None , fields = None ):
25+ return await googlemaps .places .place (client , place_id , fields = fields ,
26+ language = language )
2027
2128
22- async def places_radar (client , location , radius , keyword = None , min_price = 0 ,
23- max_price = 4 , name = None , open_now = False , type = None ):
29+ async def places_radar (client , location , radius , keyword = None , min_price = None ,
30+ max_price = None , name = None , open_now = False , type = None ):
2431
2532 return await googlemaps .places .places_radar (
2633 client , location , radius , keyword = keyword ,
0 commit comments