script to interface with places API