Added google api demo code.