eastbayjake/google-locations — pull request #17 by eastbayjake (2014-10-08 20:41:30+00:00)
Title: Phone Search

New searchByPhone functionality: provide a phone number and find matching Google Place details. Refactors findPlaceDetailsWithAddress, now "searchByAddress" and with the logic for batch/looping detail requests moved into a separate helper function for sharing between searchByPhone and searchByAddress. Several functions that shouldn't be called independently became private methods (_makeRequest, _generateUrl, etc.)