TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Thoughts / Experiences on SQL as an API

1 点作者 archit3cture超过 4 年前
I have seen several examples in the past of SQL being used as an API to access systems or data in more or less powerful ways.<p>for example :<p>--- YQL - https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Yahoo!_Query_Language<p>YQL enabled to access web data and some APIs as one big virtual database. eg: &quot;select title, link from rss where url = &#x27;https:&#x2F;&#x2F;www.engadget.com&#x2F;rss.xml&#x27;;&quot;<p>--- osquery - https:&#x2F;&#x2F;osquery.io&#x2F;<p>osquery - Query your devices like a database with currently 258 tables implemented (https:&#x2F;&#x2F;osquery.io&#x2F;schema&#x2F;) eg: &quot;SELECT name, path, pid FROM processes WHERE on_disk = 0;&quot;,<p>Do you know other similar projects that add an SQL facade on systems, datas or APIs in unexpected ways ? Do you consider that these kind of APIs are fragile or elegant ?<p>I tried to find a list&#x2F;documentation of all the endpoints that used to be available in YQL but did not find anything that looked comprehensive to better understand the scope that it used to have. If you happen to know where to find such a list or remember some of the endpoints, I am interested.<p>Thanks for your time !

1 comment

archit3cture超过 4 年前
Regarding YQL, I found this github repo - <a href="https:&#x2F;&#x2F;github.com&#x2F;yql&#x2F;yql-tables" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yql&#x2F;yql-tables</a> that seem to describe some of the external tables that used to be available through YQL.