3 ms·
> Data APIs should be rate limited Hypermedia APIs should be rate limited as well, because otherwise people will just go and screen scrape (like many HN apps d
by mschuster91 3y ago
> Data APIs should be rate limited
Hypermedia APIs should be rate limited as well, because otherwise people will just go and screen scrape (like many HN apps do, because HN doesn't offer an API). All a "data" API does is make the scraper's job easier.
> Data APIs typically use some sort of token-based authentication / Hypermedia APIs typically use some sort of session-cookie based authentication
So what. Any web framework worth its salt can support multiple authentication / credential mechanisms - the only "benefit" I can see from limiting cookie authentication is to make life for bad actors with cookie-stealer malware harder (like GitLab does, IIRC).
- benmanns 3y agoNot anymore! https://github.com/HackerNews/API https://github.com/HackerNews/API
- ronsor 3y ago> Hypermedia APIs should be rate limited as well, because otherwise people will just go and screen scrape Then proxies or other IPs will be used anyway.
- serial_dev 3y agoHacker News has an API for a while now (I used it years ago around 2018), based on this post since 2014. Announcement https://www.ycombinator.com/blog/hacker-news-api https://www.ycombinator.com/blog/hacker-news-api API https://github.com/HackerNews/API https://github.com/HackerNews/API
- saagarjha 3y agoPeople usually screen scrape because of limitations in the Hacker News API, not because it's nonexistent.