Created
May 23, 2021 11:23
-
-
Save suhlig/8afae9206ca649d883c9ea2feee3269b to your computer and use it in GitHub Desktop.
Yesterdays Top HN as JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steampipe query --output json " | |
select | |
title, url, 'https://news.ycombinator.com/item?id=' || id as comments_url | |
from | |
hackernews_top | |
where | |
time > current_date - interval '24 hour' | |
order by | |
score desc | |
limit | |
20 | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment