从纽约时报API获取数据

时间:2012-02-28 08:23:40

标签: javascript

我正在尝试使用NY Times API(developer.nytimes.com/docs)执行以下操作:

var nytimes_url = 'http://www.nytimes.com/2012/02/28/us/in-western-washington-state-mudslides-pose-hint-of-danger.html';
// code taking nytimes_url
// and retrieving the headline, the byline, and the date of the article

到目前为止,我已尝试使用Symantic API,特别是this request,但问题是the article的标题是At Flagging Tribune, Tales of a Bankrupt Culture,并且字符串显示不一致返回的JSON文本。我想知道是否有人可以帮助我提高效率。

0 个答案:

没有答案