factored out google api url