I don't believe they display a captcha when you get banned from the API. 
Rather, they return a JSON object which includes an error message that 
encourages you to contact Google to resolve the situation.

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 11, 2010, at 8:05 AM, Phil-H wrote:

> Well around the captcha basicallly yea. What you've said there is
> another possible solution in this case, i'm just trying to check all
> my options before choosing one! I don't suppose you know if there's
> any way of responding with the word from the captcha if i did want to
> display it to the user through my program and offer a text box?
> 
> On Feb 10, 8:14 pm, Vision Jinx <[email protected]> wrote:
>> Around the captcha or checking the status codes from the API? In my
>> apps if I get a non-200 response I give an Oops with a link to error
>> codes and provide a try again link.
>> 
>> On Feb 10, 10:56 am, Phil-H <[email protected]> wrote:
>> 
>>> That is what i believed to be the case, although i'm looking for a
>>> good way around the problem (assuming the querys sent by the program
>>> are correct)
>> 
>>> On Feb 10, 5:52 pm, Jeremy Geerdes <[email protected]> wrote:
>> 
>>>> 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 
>>>>> athttp://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.
> 

-- 
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.

Reply via email to