Re: Testing on localhost, 'Invalid authorization key'

90 views
Skip to first unread message
Message has been deleted

jgeerdes [AJAX APIs "Guru"]

unread,
Feb 1, 2008, 7:14:35 PM2/1/08
to Google AJAX API
That's because the AJAX Search API key doesn't work with the SOAP
Search API key. The two are totally different, and the SOAP API has
been deprecated by Google so that they are no longer providing new
keys.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
jgee...@mchsi.com

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!

davidj411

unread,
Feb 3, 2008, 11:51:25 PM2/3/08
to Google AJAX API
I realize that the SOAP API keys are no longer being issued. however,
the pygoogle readme.txt explains that this is needed.


>>> import google
>>> google.LICENSE_KEY = '...' # must get your own!
>>> data = google.doGoogleSearch('python')

So, how can i get an AJAX API key?
the example that i found on google, shows that only a google account
is required (username and password). HOWEVER, you mention above that
"AJAX Search API key doesn't work with the SOAP Search API key. " I am
now totally confused. does pyGoogle work with SOAP or AJAX or both?

Assuming AJAX is working, where can i get more information on how to
query google and parse the results? I am doing a personal search.

import gdata.docs.service
client = gdata.docs.service.DocsService()
client.ClientLogin(username...@gmail.com', 'password')
documents_feed = client.GetDocumentListFeed()
for document_entry in documents_feed.entry:
print document_entry.title.text

results is "HouseBills" which is correct.


jgeerdes [AJAX APIs "Guru"]

unread,
Feb 4, 2008, 7:21:50 AM2/4/08
to Google AJAX API
According to the information I found on sourcefourge.net, PyGoogle
works with the SOAP API. Thus, you get the SoapException.
Unfortunately, there are still a lot of websites, tutorials,
applications, etc., running around out there trumpeting the wonders of
the "Google Web API", which is another name for the SOAP Search API
which has been deprecated since late 2006. Namely, for those who
registered an API key before 6 Dec 2006, the thing still works, but
for the rest of us, we're simply out of luck. This is why I'm
surprised to see that it's actually returning a result of some sort.

Documentation for the AJAX Search API is found at the link below, but
you might find it a little disappointing if you're trying to
programmatically parse the results: it doesn't work with server-side
or standalone applications yet. It is, in its present form, strictly
a Javascript-based API, meaning that it must be utilized in a browser
environment, but you can vote for server-side access on the Features
Request page! And while it eliminates the query limits that were
present in the SOAP API, it introduces a results limit of 32 results
across 4 separate requests.

AJAX Search API documentation: http://code.google.com/apis/ajaxsearch/

Brandon

unread,
Feb 5, 2008, 9:22:22 AM2/5/08
to Google AJAX API
Is there any way to use google search spell checking, anymore?
I have tried other solutions, but none seem to match the google
dictionary.

Thank you,
Brandon

jgeerdes [AJAX APIs "Guru"]

unread,
Feb 5, 2008, 5:21:21 PM2/5/08
to Google AJAX API
Not at this time, but you can vote for such functionality on the
Feature Requests/Suggestions page!

Ankur

unread,
Feb 13, 2008, 6:15:01 AM2/13/08
to Google AJAX API
HI,
This is ankur facing problem while using java code of Google Search
API.
I registered myself for google Search API key and develop
application for test it on local system.but i got error as

Google Search Fault: Fault Code = SOAP-ENV:Server
Fault String = Exception from service object: Invalid authorization
key: ABQIAAA
AC1WV0Cka6e6XTOTb09HMpRTqllhTHWE9IAUNEDvthRbe3I5wjRRlggxG8aHUldKexD9QfDi0QTUc7g

is there any way to resolve it..Plz guide me as soon as possible

On Feb 2, 5:14 am, "jgeerdes [AJAX APIs \"Guru\"]"
<jgeer...@mchsi.com> wrote:
> That's because the AJAX Search API key doesn't work with the SOAP
> Search API key. The two are totally different, and the SOAP API has
> been deprecated by Google so that they are no longer providing new
> keys.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.com
> jgeer...@mchsi.com

jgeerdes [AJAX APIs "Guru"]

unread,
Feb 13, 2008, 6:32:13 AM2/13/08
to Google AJAX API
AJAX Search API keys cannot be used with the SOAP Search API. The
SOAP Search API has been deprecated by Google (i.e., they are no
longer issuing keys to use it). The AJAX API cannot be used at
present with server-side or standalone applications, but only with
Javascript in the web browser context. If you want server-side or
standalone access, vote for it in the Feature Requests page.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
jgee...@mchsi.com
Reply all
Reply to author
Forward
0 new messages