Skip to content

Temporary Closures Variable (business_status) #131

@PFurst2000

Description

@PFurst2000

In May 2020, the Google Places API added a business_status variable in Place Search and Place Details to verify the status of establishment closures. This variable has replaced the prior variable used to identify whether an establishment is open or closed. Is it possible to update the Python package to access this field? I had hoped to obtain outputs for this variable using the following line of code but received the following error: "AttributeError: 'Place' object has no attribute 'business_status'."

for place in query_result.places:
place.get_details()
print (place.name)
print (place.business_status)

More info about the business_status variable is available at: https://cloud.google.com/blog/products/maps-platform/temporary-closures-now-available-places-api

Thank you very much for this excellent code package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions