[Mono-list] Google Search API help needed

Lensman lensman58 at gmail.com
Thu Sep 24 06:51:12 EDT 2009


No browser, just a little desktop application.
So i guess the only way is with a web request and json.
Thanks for your interest and your links. :)

On Thu, Sep 24, 2009 at 3:44 AM, Ben Joldersma <ben at skullsquad.com> wrote:

> Lensman,
> 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:
>
> http://msdn.microsoft.com/en-us/library/system.net.webrequest
> mono-list at lists.ximian.com.getresponse(VS.80).aspx<http://msdn.microsoft.com/en-us/library/system.net.webrequest.getresponse%28VS.80%29.aspx>
>
> this link will take you a good direction.
>
> good luck!
>
> --
> ben joldersma
> craftsman
> http://skullsquad.com
> [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/20090924/1224d4d1/attachment.html 


More information about the Mono-list mailing list