Using google search engine results in an application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • guillermobytes
    New Member
    • Jan 2010
    • 77

    Using google search engine results in an application

    I have been looking for an API to use google search engine in my application. there is an AJAX api but my app is closed (meaning that it has no client input) i don't want the javascript.

    i could generate the search url myself, use file_get_conten ts(), and with regexgive meaning to the text, but does any one know if i am actuallty allowed to do that?

    won't my ip get banned if i don't use some api authentication?
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Originally posted by guillermobytes
    there is an AJAX api but my app is closed (meaning that it has no client input) i don't want the javascript.
    You don't have to use JavaScript to work with an AJAX API. I mean, AJAX just sends HTTP requests and interprets the return data. You can easily do that with PHP. Either Curl or file_get_conten ts could be used server-side for the same purpose the XMLHttpRequest object is used client-side.

    Originally posted by guillermobytes
    I could generate the search url myself, use file_get_conten ts(), and with regexgive meaning to the text, but does any one know if i am actuallty allowed to do that?

    won't my ip get banned if i don't use some api authentication?
    I'm not sure, but I doubt they will hold a grudge as long as you credit them for the search results. (A "powered by Google" link seems appropriate).

    Disclaimer: I don't actually know this for a fact. You may be better of going through Google's Terms of Service if you plan on implementing something using their services.

    Comment

    • guillermobytes
      New Member
      • Jan 2010
      • 77

      #3
      anyways i'm not allowed to perform programmatic queries!
      i can only do queries on behalf of an end user: google s*cks :(

      Comment

      Working...