From 6a3870d31efe3a7b585be0df44c67b2e598da0d6 Mon Sep 17 00:00:00 2001 From: William Kaiser Date: Mon, 21 Aug 2023 20:27:09 -0400 Subject: [PATCH 1/4] 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 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 2/4] 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 3/4] 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 4/4] 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