Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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
HAr021254

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 at 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 at 20-Dec-12 17:16pm
   
No service reference needed - simply make an HTTP request and parse the XML result!
HAr021 at 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
0 Zoltán Zörgő 200
1 Sergey Alexandrovich Kryukov 160
2 Peter Leow 90
3 Ramza360 51
4 Arkadeep De 50
0 Zoltán Zörgő 80
1 the other paul 23
2 Shmuel Zang 10
3 Aarti Meswania 5
4 Member 11389991 -2


Advertise | Privacy | Mobile
Web04 | 2.8.150129.1 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2015
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