I have only seen C# code for this one time, and it was from long  
before the RESTful API was documented, so I probably can't really  
recommend it here.  That said, there are json parsers at json.org for  
C#. The rest of the code will basically involve importing System.IO  
and System.Net and then using System.Net.WebClient and  
System.IO.StreamReader to pull the json string.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On Apr 17, 2009, at 4:31 AM, balaji1 wrote:

>
>
> Thanks for the solution.
> I got it working in Java it uses library from http://www.json.org/ 
> java/
> .Where can get the simillar code for c#.
>
>
> On Apr 15, 4:30 pm, Jeremy Geerdes <[email protected]> wrote:
>> You do not need to provide the API key. What you DO need to provide  
>> is
>> a valid http referer header. For a desktop application, I would
>> recommend pointing this to a site and page that would offer a brief
>> description of the application and a point of contact in case Google
>> finds that something is wrong.  As far as code goes, check out the
>> documentation at the links below.  You'll find a handful of code
>> snippets that you can use to glean principles for whatever  
>> programming
>> environment you're working in:
>>
>> http://code.google.com/apis/ajaxsearch/documentation/index.html#fonjehttp 
>> ://code.google.com/apis/ajaxsearch/documentation/reference.html#_...
>>
>> Jeremy R. Geerdes
>> Effective website design & development
>> Des Moines, IA
>>
>> For more information or a project quote:http://jgeerdes.home.mchsi.comhttp 
>> ://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.com
>> [email protected]
>>
>> Unless otherwise noted, any price quotes contained within this
>> communication are given in US dollars.
>>
>> If you're in the Des Moines, IA, area, check out Debra Heights
>> Wesleyan Church!
>>
>> And check out my blog, Adventures in Web Development, 
>> athttp://jgeerdes.blogspot.com
>>   !
>>
>> On Apr 15, 2009, at 5:17 AM, balaji1 wrote:
>>
>>
>>
>>
>>
>>> I want to call Google search Api from windows application but Ajax  
>>> Api
>>> provides key for website and installed softwares. How can I get the
>>> key for windows application and what code should ne used to  run the
>>> same. Please Help.- Hide quoted text -
>>
>> - Show quoted text -
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to