I need a script that can access the Google Suggestion Tool
[url removed, login to view]
and grab the data.
Basically I need a few php function:
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
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.
With this logic:
[url removed, login to view] I call doLogin function with my username and password, script does login to the google suggestion tool
[url removed, login to view] 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