TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Thoughts / Experiences on SQL as an API

1 pointsby archit3ctureover 4 years ago
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

archit3ctureover 4 years ago
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.