added google api

hacked together old api until I can figure the new one out