From b417775c298f696670bd9c142bc7bbfd720f2912 Mon Sep 17 00:00:00 2001 From: Trevor Fitzgerald Date: Thu, 1 Feb 2024 20:26:50 -0500 Subject: [PATCH] Update link to ndjson spec (#307) --- doc/specs/lichess-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/specs/lichess-api.yaml b/doc/specs/lichess-api.yaml index eb448b8..20b4efc 100644 --- a/doc/specs/lichess-api.yaml +++ b/doc/specs/lichess-api.yaml @@ -44,7 +44,7 @@ info: please wait a full minute before resuming API usage. ## Streaming with ND-JSON - Some API endpoints stream their responses as [Newline Delimited JSON a.k.a. **nd-json**](http://ndjson.org/), with one JSON object per line. + Some API endpoints stream their responses as [Newline Delimited JSON a.k.a. **nd-json**](https://github.com/ndjson/ndjson-spec), with one JSON object per line. Here's a [JavaScript utility function](https://gist.github.com/ornicar/a097406810939cf7be1df8ea30e94f3e) to help reading NDJSON streamed responses.