Open mentalcaries opened 1 year ago
Google's Places API allows for requests to be made and returns two useful sets of information:
Format returned:
{ "html_attributions": [], "result": { "opening_hours": { "open_now": false, "periods": [ { "close": { "day": 1, "time": "1500" }, "open": { "day": 1, "time": "0800" } }, { "close": { "day": 2, "time": "1500" }, "open": { "day": 2, "time": "0800" } }, { "close": { "day": 3, "time": "1500" }, "open": { "day": 3, "time": "0800" } }, { "close": { "day": 4, "time": "1200" }, "open": { "day": 4, "time": "0800" } }, { "close": { "day": 5, "time": "1300" }, "open": { "day": 5, "time": "0800" } }, { "close": { "day": 6, "time": "1500" }, "open": { "day": 6, "time": "0800" } } ], "weekday_text": [ "Monday: 8:00 AM – 3:00 PM", "Tuesday: 8:00 AM – 3:00 PM", "Wednesday: 8:00 AM – 3:00 PM", "Thursday: 8:00 AM – 12:00 PM", "Friday: 8:00 AM – 1:00 PM", "Saturday: 8:00 AM – 3:00 PM", "Sunday: Closed" ] } }, "status": "OK" }
In particular, we want to see if the API can provide information regarding: