0

Delicious JSON

Lots of topics coming from my direction, sorry! This time, I'm having trouble getting anything back from a JSON feed. I'm using the following query:

CODE
select * from json where url="http://feeds.delicious.com/v2/json/urlinfo/data?url=http://developer.yahoo.com/yql/console/"

See this query in the console.

The JSON appears to be fine but YQL does not seem to like it. (Whitespace added for clarity)
CODE
[
{
"hash":"660d6551c721ca8bb0da5faf39675922",
"title":"Yahoo! Query Language - YDN",
"url":"http:\/\/developer.yahoo.com\/yql\/console\/",
"total_posts":202,
"top_tags":{"yahoo":131,"yql":128,"api":80,"sql":52,"json":50,"webservice":45,"console":44,"tools":43,"xml":36,"web":24}
}
]

by
2 Replies
  • QUOTE (Salathe @ Jun 1 2009, 02:56 AM) <{POST_SNAPBACK}>
    Lots of topics coming from my direction, sorry! This time, I'm having trouble getting anything back from a JSON feed. I'm using the following query:


    It appears that this is a bug. We do not currently allow an array to be at the top level in JSON. I'll file it. If they have an XML based API that might be a workaround in this case.

    Sam
    0
  • Thanks Sam. The XML (RSS) api is not available for the specific endpoint used above but it can be worked around using <execute> for now.
    0

Recent Posts

in YQL