[Mono-list] Google Search API help needed

Ben Joldersma ben at skullsquad.com
Wed Sep 23 20:44:14 EDT 2009

Are you trying to do this in a browser?  Or in a desktop or a server
application?  If in a browser, you don't really need to use mono/.net - you
should be able to connect directly to google's search api via javascript.

If in a desktop/server environment, you can us James Newton-King's JSON.Net
library, http://james.newtonking.com/pages/json-net.aspx to parse any json
output.  As far as executing the requests, try using the WebRequest and
WebResponse objects:


this link will take you a good direction.

good luck!

ben joldersma
[o]: 206.973.8003
[c]: 206.349.2852

On Wed, Sep 23, 2009 at 5:11 PM, Lensman <lensman58 at gmail.com> wrote:

> Hello list,
> This is my first post to this list and I'm a newbie with mono and .NET so
> plz be gentle :P
> I'm trying to make a simple application that will get a string of search
> arguments from a text box
> and use Google's search API to get some search results.
> The problem is that i don't know if i can use AJAX or how with mono.
> On the other hand if i use the RESTful way (
> http://code.google.com/apis/ajaxsearch/documentation/#fonje)
> i don't know how i can make a URL request and how to (if there is an easier
> way than the libs at json.org) parse the JSON string.
> Any help would be welcome :)
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090923/e85e33b6/attachment.html 

More information about the Mono-list mailing list