
One of my biggest outset basis problems is never beingness able to discovery an opened upward cafe belatedly at night. After going out for a repast or visiting a pub inward the eventide I oft experience similar a decent loving cup of java earlier heading home. However for some argue inward London most cafes close betwixt 6-9 pm. This makes it rattling hard to discovery a proficient loving cup of java belatedly at night.
When the Google Places API was released I created a petty personal app, to aid me discovery cafes or so my location that were currently open. When I portion my location on my Places app I tin stance all the nearby opened upward cafes on a Google Map. It is in all probability the most used app on my phone.
Over the years I've wondered virtually adding other options, for instance to discovery bars nearby which are currently open. However I've never actually felt the bespeak for these other options as well as because the application has exclusively ane user (me) I've never bothered developing it further.
If you lot alive inward the USA, Australia, Republic of Ireland or the Britain so you lot bring no bespeak to construct your ain application. Instead you lot tin role Localmint. Localmint is an application to discovery the opening hours as well as identify details of nearby businesses. Enter a search term (e.g. 'coffee') as well as an address into Localmint as well as you lot tin stance a Google Map showing all the nearby local businesses.
All the results are plotted on a Google Map as well as too listed inward the map sidebar. The sidebar results demo the opening-hours for each trace of piece of occupation organization as well as you lot tin too conduct a business' marking to stance the hours that it is open.
If you lot are interested inward edifice your ain opening hours application it is rattling tardily to practise using the Google Maps API. You tin role this Google Maps documentation Geolocation demo to teach the user's electrical flow location. You tin so role the returned location alongside the Google Places API.
The Places API allows you lot to provide exclusively places which are currently opened upward ('openNow: true'). Using this pick it possible thus to create a unproblematic application which exclusively shows businesses nearby which are currently open.