Reputation: 6884
Anyone know how to do a JSON call to the Yahoo Boss API? Ideally the URL for the documentation on how to do this.
Upvotes: 1
Views: 567
Reputation: 272287
YBoss is a JSON wrapper for the Yahoo Boss API. I believe Yahoo Boss talks XML natively.
UPDATE: Yahoo BOSS JSON Search API will discontinue on March 31, 2016. https://developer.yahoo.com/boss/search/
Upvotes: 1
Reputation: 2525
I think Yahoo BOSS returns the results in JSON by default, unless you explicitly pass a format=xml argument to the request. So, for example, in Python you could do something like
import simplejson
import urllib2
result = simplejson.load(urllib2.urlopen('http://boss.yahooapis.com/ysearch/web/v1/foo?appid=xyz'))
Upvotes: 0