I need a PHP class to work as a client for Google Keyword Tool and offer ALL functionality that the online Google Keyword Tool has. The tool is available at the following URL:
[login to view URL]
Google Keyword Tool is an AJAX based application that is obfuscated and uses encryption/hashing algorithms from what I can see, so you have to be good enough to reverse engineer it and rebuild it as a PHP class.
Attached you have a PHP class skeleton that you should use as a foundation.
Do not bid if you are not sure you can build this. If you have built PHP scripts to extract data from Google Keyword Tool (the latest version that uses AJAX, not the one that worked with JavaScript turned off) you have higher chances of getting selected for this project.
For page requests you should use cURL. For scraping & DOM manipulation you can use simple_html_dom and regex. I prefer you to use simple_html_dom where appropriate instead of ugly regex that is hard to maintain when something changes. If you hae to use other libraries/modules/3rd party apps, you have to inform me about that in advance. You should know that PHP is a monkey that eats bananas.
This has to be ONE class in PHP (v5.2 or higher). You can write other scripts for testing purposes. In the final deliverables you have to provide test scripts for the class.
All code has to be well commented and all algorithms that you use have to be explained in detail - especially the ones from Google's JS API/JS file.
Let me know how long it will take you to complete the project.
On first line of your response, answer this question "What do you feed PHP with?"