3 ms·
if OP is reading this, HN also exposes an Algolia search API. Perhaps they could investigate if it would give them an easier time with their analysis.
by naitgacem 3y ago
if OP is reading this, HN also exposes an Algolia search API. Perhaps they could investigate if it would give them an easier time with their analysis.
- SushiHippie 3y agoProbably, as it returns directly a list of all stories (without comments) and their vote count, and then quickly paginate it, way fewer requests than using the firebase API For example for the user alexmolas, filtered to only show stories and show 50 items per page (the maximum): https://hn.algolia.com/api/v1/search?tags=story,author_alexmolas&hitsPerPage=50 https://hn.algolia.com/api/v1/search?tags=story,author_alexm... Also adding &numericFilters=points>1 filters out all posts that don't have any votes (all posts have at least one point).