From 6a3870d31efe3a7b585be0df44c67b2e598da0d6 Mon Sep 17 00:00:00 2001 From: William Kaiser Date: Mon, 21 Aug 2023 20:27:09 -0400 Subject: [PATCH 1/6] Added .json to path for valid url Only putting the trailing object id leads to errors --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c300667..aa703d1 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ I'm not saying this to defend it - It's not the ideal public API, but it's the o ## Items -Stories, comments, jobs, Ask HNs and even polls are just items. They're identified by their ids, which are unique integers, and live under `/v0/item/`. +Stories, comments, jobs, Ask HNs and even polls are just items. They're identified by their ids, which are unique integers, and live under `/v0/item/.json`. All items have some of the following properties, with required properties in bold: From 951a407bf6aef7f6c1906f2bb54bb58f532da108 Mon Sep 17 00:00:00 2001 From: presbrey Date: Mon, 3 Jun 2024 23:56:28 -0400 Subject: [PATCH 2/6] Bump year in LICENSE Just following the last HEAD~3 tradition of sending in this PR :) Thanks for continuing to provide this API to the public! --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 9411b3d..6be5a2f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2023 Y Combinator Hacker News +Copyright (c) 2024 Y Combinator Hacker News Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From d4301c0ce094ae0fc62aad9bc886a72f563e9318 Mon Sep 17 00:00:00 2001 From: Yves Dorfsman Date: Thu, 6 Jun 2024 08:24:46 -0600 Subject: [PATCH 3/6] Remove delay from Users example --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index c300667..facae68 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,6 @@ For example: https://hacker-news.firebaseio.com/v0/user/jl.json?print=pretty { "about" : "This is a test", "created" : 1173923446, - "delay" : 0, "id" : "jl", "karma" : 2937, "submitted" : [ 8265435, 8168423, 8090946, 8090326, 7699907, 7637962, 7596179, 7596163, 7594569, 7562135, 7562111, 7494708, 7494171, 7488093, 7444860, 7327817, 7280290, 7278694, 7097557, 7097546, 7097254, 7052857, 7039484, 6987273, 6649999, 6649706, 6629560, 6609127, 6327951, 6225810, 6111999, 5580079, 5112008, 4907948, 4901821, 4700469, 4678919, 3779193, 3711380, 3701405, 3627981, 3473004, 3473000, 3457006, 3422158, 3136701, 2943046, 2794646, 2482737, 2425640, 2411925, 2408077, 2407992, 2407940, 2278689, 2220295, 2144918, 2144852, 1875323, 1875295, 1857397, 1839737, 1809010, 1788048, 1780681, 1721745, 1676227, 1654023, 1651449, 1641019, 1631985, 1618759, 1522978, 1499641, 1441290, 1440993, 1436440, 1430510, 1430208, 1385525, 1384917, 1370453, 1346118, 1309968, 1305415, 1305037, 1276771, 1270981, 1233287, 1211456, 1210688, 1210682, 1194189, 1193914, 1191653, 1190766, 1190319, 1189925, 1188455, 1188177, 1185884, 1165649, 1164314, 1160048, 1159156, 1158865, 1150900, 1115326, 933897, 924482, 923918, 922804, 922280, 922168, 920332, 919803, 917871, 912867, 910426, 902506, 891171, 807902, 806254, 796618, 786286, 764412, 764325, 642566, 642564, 587821, 575744, 547504, 532055, 521067, 492164, 491979, 383935, 383933, 383930, 383927, 375462, 263479, 258389, 250751, 245140, 243472, 237445, 229393, 226797, 225536, 225483, 225426, 221084, 213940, 213342, 211238, 210099, 210007, 209913, 209908, 209904, 209903, 170904, 165850, 161566, 158388, 158305, 158294, 156235, 151097, 148566, 146948, 136968, 134656, 133455, 129765, 126740, 122101, 122100, 120867, 120492, 115999, 114492, 114304, 111730, 110980, 110451, 108420, 107165, 105150, 104735, 103188, 103187, 99902, 99282, 99122, 98972, 98417, 98416, 98231, 96007, 96005, 95623, 95487, 95475, 95471, 95467, 95326, 95322, 94952, 94681, 94679, 94678, 94420, 94419, 94393, 94149, 94008, 93490, 93489, 92944, 92247, 91713, 90162, 90091, 89844, 89678, 89498, 86953, 86109, 85244, 85195, 85194, 85193, 85192, 84955, 84629, 83902, 82918, 76393, 68677, 61565, 60542, 47745, 47744, 41098, 39153, 38678, 37741, 33469, 12897, 6746, 5252, 4752, 4586, 4289 ] From 4f4d21ce68da8da8f456d6ad923b21f69224861a Mon Sep 17 00:00:00 2001 From: MUJJONA ERIC <130629472+EricMujjona@users.noreply.github.com> Date: Sun, 29 Sep 2024 04:29:42 +0300 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index facae68..177df86 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Hacker News API +# Hacker News API // ## Overview From 44488c761da600b34191a771eda31befb8ed9c2a Mon Sep 17 00:00:00 2001 From: gruseom Date: Sat, 28 Sep 2024 18:57:28 -0700 Subject: [PATCH 5/6] Revert "Update README.md" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 177df86..facae68 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Hacker News API // +# Hacker News API ## Overview From 1fff41df2527fb24ece748acb928fa0cd6db048a Mon Sep 17 00:00:00 2001 From: JasonnnW3000 Date: Wed, 1 Jan 2025 00:07:46 -0500 Subject: [PATCH 6/6] Update LICENSE, fix license year Signed-off-by: JasonnnW3000 --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 6be5a2f..c565a55 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2024 Y Combinator Hacker News +Copyright (c) 2025 Y Combinator Hacker News Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal