Skip to content

Googleplaces

flowtask.components.GooglePlaces

GooglePlaces

GooglePlaces(loop=None, job=None, stat=None, **kwargs)

Bases: GoogleBase

index_get

index_get(array, *argv)

checks if a index is available in the array and returns it :param array: the data array :param argv: index integers :return: None if not available or the return value

rating_reviews async

rating_reviews(idx, row)

Getting Place Reviews using the Google Places API.

Parameters:

Name Type Description Default
idx int

row index

required
row Series

pandas row

required

Returns:

Type Description

Review Information.

Example:

GooglePlaces:
  type: traffic
  paid_proxy: true

run async

run()

Run the Google Places API.

traffic async

traffic(idx, row)

get the current status of popular times (Traffic).

Parameters:

Name Type Description Default
idx int

row index

required
row Series

pandas row

required

Returns:

Type Description

Place information with Traffic.