TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Show HN: News API
3 points
by
blackjable
almost 12 years ago
The resources are transmitted via JSON responses. This was a bit of fun.<p>API:<p>{path:"/"}, {path:"/news"}, {path:"/news2"}, {path:"/newest"}, {path:"/newcomments"}, {path:"/ask"}, {path:"/x", uri: (req) -> "/x?fnid=#{req.query.fnid}" }, {path:"/user", uri: (req) -> "/user?id=#{req.query.id}" }, {path:"/item", uri: (req) -> "/item?id=#{req.query.id}"}, {path:"/submitted", uri: (req) -> "/submitted?id=#{req.query.id}"}, {path:"/threads", uri: (req) -> "/threads?id=#{req.query.id}"}],<p>Source:<p>https://github.com/blackjable/hackednews
1 comment
xauronx
almost 12 years ago
Collapse
Looks like a great start. Any plans to do comments?
评论 #6141962 未加载