It's composed by a form with a button, when you press the button, it
shall give the amount of results for the word "car", and print it in a
Label called LblBus.
For this I have requested my API Key in google page. The problem is
that when I debug it and press the button, I receive the following
message:
"Exception from service object: Invalid authorization key:
LBQIAAAA36xNmrMhGU14JfPL61i17RT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSjS3T20LW8FD0k9vPEYDyw5LvwlQ"
Do you know why? I attach below the code of the program:
--------------------------------------
Option Explicit On
Imports GoogleS =
WindowsApplication1.com.google.api.GoogleSearchService
Public Class Form1
Dim GoogleS As New GoogleS
Dim key As String
Dim Results As Int16
Private Sub Start_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Start.Click
Results =
GoogleS.doGoogleSearch("LBQIAAAA36xNmrMhGU14JfPL61i17RT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSjS3T20LW8FD0k9vPEYDyw5LvwlQ",
"car", 0, 1, False, "", False, "", "", "").estimatedTotalResultsCount
LblBus.Text = Results
End Sub
End Class
--------------------------
Thanks in advance!!!
You are wrong. The API is still there (in beta), but they
don't give out new authorization keys.
Regards, Manfred
We have been using the API extensively in the Carrot2 project
(www.carrot2.org). A few months ago the service was slow, but quite
reliable, but since then things have changed dramatically -- a lot of
queries result in service errors, the delay of processing is
increasing... it looks like Google almost wants everyone to abandon
the service so that nobody feels guilty when they shut it off.
To be honest, we have never been truly happy with the API's
restrictions either. As many people think and say, Yahoo! made a much
better job with their REST interface. And it's not even about the
interface technology -- Microsoft's search API is based on SOAP and it
is by far the fastest of all search APIs we ever used... (their index
seems to be much smaller though).
Summarizing, as much as I like Google, their SOAP API is not worth a
penny and they would do a better thing for the community just closing
it entirely instead of pretending they support it. Sorry if this
sounds harsh to some of you.
Dawid
>they would do a better thing for the community just closing it entirely instead of pretending they support it.
Totally agree. They're making loosing my time.