Jump to content

Need to get quantity of Google Results for a search key phrase using PHP

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Tim Joseph

Tim Joseph

    Newbie

  • Members
  • Pip
  • 1 posts
Hi,

I'm looking for a script that will return the amount of search results for a keyword or keyword phrase as a number. I want to be able to fill in competitive page data against the keywords I'm using. Anyone know of a script? This should be fairly simple, I just have never tried doing a php query against Google.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
google search statistics at DuckDuckGo
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
What you need to look at is Google Custom Search API, there are alot of documentation and examples that can help you get started here: Getting Started with the API - JSON/Atom Custom Search API - Google CodeBut I must warn you that theres a limit on number of searches you do daily, after that limit you will have to pay :S
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users