Jiy*_*ssa 5 api keyword news-feed google-news
我正在寻找一个新闻API,允许我将特定的关键字和来源映射到在特定时间范围内发布的文章数量.
例如,用户将输入
{keyword1, source1, beginDate, endDate}
Run Code Online (Sandbox Code Playgroud)
并且输出将是
There are xx articles.
Display the titles and url of articles
Run Code Online (Sandbox Code Playgroud)
时间范围甚至可以是一年,例如从2011年1月1日到2012年1月1日.谷歌新闻看起来很有希望,但API已被弃用,你只能在当年的两个月内搜索.我查看了纽约时报API,它正是我正在寻找的,但不仅仅是NYT的多个来源.Feedzilla不提供源或时间范围功能的搜索,而且它只允许检索100篇文章.
我一直在寻找网络,找不到任何有用的东西,任何帮助将不胜感激.
我还没有尝试过这个,但它似乎有一个directSearch操作,它似乎允许过滤日期(和标签)......
Run Code Online (Sandbox Code Playgroud)> directSearch(login, password, search, params) This method searches the news, depending on given parameters. The analog of newsisfree advanced search. application_key (string) - application key; login (string) - user login; password (string) - user password; search (string) - search string; params (string) - hash array of additional search parameters (very important to use 'params' array values order as shown below); as_language - language code (e.g. en,fr,it) numitems - number of items to search (max 100) source_id - source id as_sourcename - source name as_category - category id as_author - author name as_topics - topics as_date_from - from date (YYYY/MM/DD) as_date_to - to date (YYYY/MM/DD) as_pop_from - from popularity (0 as_exact - exact match as_synonym - use synonyms as_relevance - by relevance as_intitle - only in titles
| 归档时间: |
|
| 查看次数: |
1779 次 |
| 最近记录: |