Provide API
See original GitHub issueHacker News has an API to their data, providing an interface to query data from their site in JSON (see here). Hacker News provides it through firebaseio
, so maybe it’s worth pushing this to another service but the basic form would be something in the form of https://stacker.news/items/1130.json?print=pretty
with the resulting item
JSON closely mirroring the database schema.
Other tables in the database schema could be accessed similarly.
I do see an api
directory so maybe this is already implemented? If so, it would be good to document. If not, then having an API so that other hackers can look at the data would be cool.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
What does it mean to provide an API - Stack Overflow
To provide an API means that you are providing a(n) server-side endpoint that your application, or a programmer, can hit with some sort...
Read more >The Ultimate Guide to Accessing & Using APIs - HubSpot Blog
Rather than give you all of a program's information or code, an API provides you only with data that has been made available...
Read more >How to Use an API: Just the Basics 2022 | TechnologyAdvice
APIs allow one program to request data from another. ... API Gateway provides a comprehensive platform for managing, delivering, ...
Read more >What is an API? (Application Programming Interface) - MuleSoft
API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other.
Read more >Consume and provide APIs with API Connect and Node.js
In an API Connect platform, a Node.js application provides the endpoints that are called to get backend or system of record data to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’s a graphql API that’s effectively public but I have not documented it. Good rec!
At 1 sat per post, no. At 1000 sats per post, probably.