Programmatically finding whether or not a specific apartment has windows facing in the right direction would be an interesting challenge.
At first I will simply go through all listings for each city manually. Looking at the photos and the reviews. And make a list of the ones with a view.
To put it another way, once a person cares about the view when picking a location, the person is likely to become picky. I might be fine looking out a cell tower five blocks away, another person isn't. They prefer trees 30m away.