Unable to get Google API key and GoogleSearch.Wsdl which are required to run a perl script

梦想的初衷 提交于 2019-12-08 05:28:27

问题


Apologies if this is trivial.

I was trying to run this code - http://oreilly.com/pub/h/974#code to get URLs from Yahoo! directory.

I was unable to get the google API base key and found at net that it's not required any more.

I needed google.wsdl as well and found at Google's API FAQ (http://code.google.com/apis/soapsearch/api_faq.html#tech4) that it can be taken from http://api.google.com/GoogleSearch.wsdl which is throwing 404 error.

Is it also not required? If yes, then just changing the method call by reducing the number of parameters will work?

Does anyone have any idea regarding the issue?


回答1:


The GoogleSearch.wsdl file can be found here




回答2:


the Google Search SOAP API service is now retired; there are a few tutorials referencing it that are now in need of an update; so even though there's the wsdl file accessible, a SOAP request gives 404 from the wsdl file's url, api.google.com/search/beta2



来源:https://stackoverflow.com/questions/9177415/unable-to-get-google-api-key-and-googlesearch-wsdl-which-are-required-to-run-a-p

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!