Hi,
I need a script that can access the Google Suggestion Tool
[login to view URL]
and grab the data.
Basically I need a few php function:
1. doLogin($login,$password);
2. GrabKeywordData($keyword,$country,$language,$filter)
where $filter is an object/array which allow me to customize these standard filters:
Include specific content
Show Ideas and Statistics for
Filter ideas: Competition
Filter ideas: Google Search Network
Filter ideas: Global Monthly Searches
Filter ideas: Local Monthly Searches
Filter ideas: Ad Share
Filter ideas: Search Share
Filter ideas: Approximate CPC
Match types
I want to have ability to turn off/on any filter's option. So I need flexibility in filters, the same I have on the site.
3. doLogout();
With this logic:
------------------
[login to view URL] I call doLogin function with my username and password, script does login to the google suggestion tool
[login to view URL] that I call GrabKeywordData with parameters and as a return I need an array with data from the google suggestion tool (ALL columns, all keywords suggestions) . This function must keep the session created with doLogin function. So I need to see data as an authorized user.
Step 2 I may do many times...
3. doLogout - close the session.
- Please use anticaptcha service for any captchas google shows.
- If google returns any error instead of suggestions - return it as an error, so I can recognize it and relogin.
- Use PHP & CURL