Opening hours for stores/places thru Google API



  • Hi!

    I would like to be able to enter a list of my favorite stores/places and get a simple list of current opening hours.

    I.e., if the list contains:
    McDonald “My localtion”, Library “My location”, Restaurant_name.

    An API call to google:
    https://developers.google.com/places/web-service/details#PlaceDetailsResults
    … and the result from:
    opening_hours

    The module would then present a list with the following results:

    Name - Status
    McDonald - "Open Now"
    Library - "Closes in 30 min"
    Restaurant_name - “Closed”

    Wouldn´t that be nice?! 😃

    Example of data pulled from a classic google search.

    0_1549223649197_MMMOpeninghours.png

    BR
    Tilly