Google Suggest API

H. Is it possible to use select2 so my search bar can show autocomplote keywords extracted from google keyword suggestion api? so everytime user type keyword it ask new data from api