3 ms·
If that is something that you're truly interested in doing - and are more after just the articles and links... Current top stories: https://hacker-news.firebas
by shagie 4y ago
If that is something that you're truly interested in doing - and are more after just the articles and links...
Current top stories: https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty https://hacker-news.firebaseio.com/v0/topstories.json?print=...
which returns something that looks like:
[ 35629127, 35627107, 35627790, 35628345, 35630681, ... ]
And then grab the id's and feed them into https://hacker-news.firebaseio.com/v0/item/35627107.json?print=pretty https://hacker-news.firebaseio.com/v0/item/35627107.json?pri...
This will return:
{
"by" : "danieg",
"descendants" : 168,
"id" : 35627107,
"kids" : [ 35627869, ... 35627413 ],
"score" : 373,
"time" : 1681905950,
"title" : "Making a Linux home server sleep on idle and wake on demand – the simple way",
"type" : "story",
"url" : "https://dgross.ca/blog/linux-home-server-auto-sleep/"
}
Grab the title and url and send 'em to yourself as a daily digest.