Click here to Skip to main content
12,628,454 members (35,789 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
i wanted to consume the yahoo! answers api in my application(C#) but i dont have any idea..how to consume it and i dont even know about Web related languages(i.e, XAML,PHP etc.)
it might be strange or irrelevant...sorry to bother..thanks in advance
Posted 20-Dec-12 8:14am
HAr021256

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Take a look at YQL (Yahoo Query Language), which returns an XML or JSON dataset using a SQL like query string. You can easily call YQL from any language. Here's[^] an example of using YQL to get the current weather for a zip code.

/ravi
  Permalink  
v2
Comments
HAr021 20-Dec-12 16:23pm
   
Ravi..the link is good enough regarding YQL in addition what exactly my point is..do i need to add service reference (like in WCF we make service & add reference in our app to consume) in my project?
if YES! then what exactly the way? and vice versa..
thanks for your concern..:)
Ravi Bhavnani 20-Dec-12 17:16pm
   
No service reference needed - simply make an HTTP request and parse the XML result!
HAr021 21-Dec-12 2:45am
   
Thanks alot Ravi..got the point now:-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161205.3 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100