Menu

#165 binding on URL='http://api.google.com/search/beta2'

open
nobody
None
5
2006-08-11
2006-08-11
yml
No

Hello,

Here it is the my second bug report yet on Google
webservice api.

>>> from ZSI import Binding
>>> KEY='###########'
>>> URL='http://api.google.com/search/beta2'
>>> google = Binding(url=URL)
>>> resp =
google.doSpellingSuggestion(key=KEY,phrase='brtney spears')

Here it is error I am getting:

---------------------------------------------------------------------------
exceptions.TypeError
Traceback (most recent call last)

E:\users\yml\_myScript_\web_proxy\google_api_python_webservice\<console>

TypeError: __call__() got an unexpected keyword
argument 'phrase'

Basically all this samples are from an excelente
tutorial. here it is the link:
http://www.python.org/pycon/dc2004/papers/11/ZSI-presentation.sxi

Discussion


Log in to post a comment.