PHP Implementation of Google Prediction API