【问题标题】:Is there an API that retrieves a list of items for a given category?是否有一个 API 可以检索给定类别的项目列表?
【发布时间】:2013-03-21 18:10:10
【问题描述】:

我认为既然 Google Sets 曾经存在并且 somewhat still does,那么肯定存在一些 API(google 或其他),我可以在其中发送一个类别作为 GET 请求并检索该类别中项目的 JSON 列表。

例如:

In: 'sports' 
Out: {'basketball', 'football', 'baseball', 'hockey', 'soccer', 'lacrosse', ...}

In: 'animals'
Out: {'dog', 'cat', 'fish', 'bird', 'horse', ...}

我认为答案可能与 Google 的自定义搜索 API 甚至维基百科有关?

谢谢!

【问题讨论】:

    标签: json get wikipedia-api google-custom-search


    【解决方案1】:

    您最好的选择可能是对 freebase 的 MQL 查询

    http://wiki.freebase.com/wiki/MQL

    类似this for sports

    【讨论】:

      猜你喜欢
      • 2018-05-18
      • 1970-01-01
      • 1970-01-01
      • 2019-03-02
      • 1970-01-01
      • 1970-01-01
      • 2012-02-22
      • 2023-02-23
      • 1970-01-01
      相关资源
      最近更新 更多