You can get at least a couple of other response codes. I've seen 400, which is a bad query. They also send a code for those who get banned. In general, I believe they are a subset of the HTTP status codes.
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Feb 10, 2010, at 11:48 AM, Phil-H wrote: > Its not automated and as far as i know does follow the TOS, here is > the process that occurs: > > User selects a document > User presses a button to generate X number of random phrases with Y > words each > User can add additional phrases using a text box > User presses a button to search for the phrases > Search terms are sent to google > Search results are returned as JSON objects > > My question is whether or not Google will return a response status > other than 200 at any time, since when using Google manually i've in > the past been asked to enter the word from an image to continue. > > Thanks for the quick response, > Phil > > On Feb 10, 5:39 pm, Vision Jinx <[email protected]> wrote: >> Hi, >> >> The TOS does not allow automated queries so if that's what your doing >> you may very likely get blocked by the Goog. >> >> Is that what you have been doing or did I mis-understand your >> question? >> >> Since this has been an issue in the past they are also asking for >> people using server side queries to pass along the client IP (userip >> param) so if your not passing valid client (end user) IP addys your >> chances of getting blocked just increased also. >> >> Additional info in this post here >> >>http://groups.google.com/group/google-ajax-search-api/browse_thread/t... >> >> Please make a follow up post if I missed what you were asking. :) >> >> Cheers! >> Vision Jinx >> >> On Feb 10, 10:09 am, Phil-H <[email protected]> wrote: >> >>> Hi, >> >>> I'll start off by explaining my situation; I'm using JSON objects and >>> the Google AJAX APIs in a Java program as my degree final year >>> dissertation project. The program works by taking a document, >>> selecting x random phrases from the document and searching Google for >>> them using the APIs. >> >>> It has worked as intended thus far but I expect that at some point >>> rather than returning the request status 200 along with the search >>> results Google will try to check that my client is not just a machine >>> spamming the system with searches and produce an anti-spam image. My >>> questions are: >> >>> 1. Does this in fact happen as it occasionally does when using a >>> Google search manually? >> >>> 2. What can i do to get around this? >> >>> My thoughts are that I'd have to display the image through the program >>> and return the user input but is there any support for this in the >>> AJAX APIs using JSON objects? >> >>> Thanks in advance, >>> Phil > > -- > You received this message because you are subscribed to the Google Groups > "Google AJAX APIs" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
