hackernews_graphql
hacker-news-comments
hackernews_graphql | hacker-news-comments | |
---|---|---|
4 | 2 | |
21 | 1 | |
- | - | |
0.0 | 4.7 | |
over 2 years ago | almost 2 years ago | |
TypeScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hackernews_graphql
-
Reddit CEO Lashes Out
I built a GraphQL API to cache the responses and dataload them like 2 years ago on top of HN API so it can give nicer responses and don't hit the endpoint as much. Can load entire HN thread in one request.
https://github.com/searchableguy/hackernews_graphql
It is still incomplete though because I remember you said I could not scrape the site beyond robot.txt limits which wouod be too less for the use case because I wanted to provide write functionality so I gave up.
- Hacker News Official API
-
‘Reverse Engineering’ Hacker News into an API
I tried creating a Graphql API for HN for both read and write so I could eventually use it to write a HN client app but I hit a wall due to HN scraping policy. It limits you to fetching a page once every 30 second.
https://github.com/searchableguy/hackernews_graphql
hacker-news-comments
-
Hacker News Official API
If you're looking to get your comment scores, the API sadly will not oblige.
I wrote a script that uses your browser cookies to scrape them from the website here: https://github.com/superb-owl/hacker-news-comments
What are some alternatives?
Hacker News API - Documentation and Samples for the Official HN API
Hackers - Hackers is an elegant iOS app for reading Hacker News written in Swift.
wundergraph - WunderGraph is a Backend for Frontend Framework to optimize frontend, fullstack and backend developer workflows through API Composition.
newtab - A clean new tab page extension for Chrome made by Isaac Bythewood, you can grab it and customize it yourself.
reqwest-eventsource - Helper to build an Eventsource using reqwest
hkrnws - hackernews but chronological
hn-faves-api - 🌐 Tiny API to get user's favorited items on Hacker News
hn-data-dumps