football-docs 0.17.6 → 0.17.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/data/docs.db +0 -0
- package/dist/index.js +2 -1
- package/dist/reep.js +3 -2
- package/docs/reep/download-duckdb-csv.md +4 -3
- package/docs/reep/overview.md +11 -7
- package/package.json +1 -1
- package/providers.json +1 -1
package/README.md
CHANGED
|
@@ -377,7 +377,7 @@ Refresh manually with `python3 scripts/observe_espn.py --scheduled-date YYYYMMDD
|
|
|
377
377
|
choosing a future fixture date and using permitted access. The script stores no
|
|
378
378
|
raw responses. Review the diff, update the docs and dates, then rebuild the index.
|
|
379
379
|
|
|
380
|
-
Reep's snapshots age
|
|
380
|
+
Reep's snapshots age with each download release, which is cut weekly or less often. Run
|
|
381
381
|
`python3 scripts/check_reep_live.py` to check every download link and list what
|
|
382
382
|
has changed since the snapshots; the refresh steps are in [specs/README.md](specs/README.md#reep).
|
|
383
383
|
|
package/data/docs.db
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -178,7 +178,8 @@ export function createFootballDocsServer() {
|
|
|
178
178
|
"Look up by provider + id (pass namespace too, e.g. transfermarkt 'spieler', opta 'person'), by reep_id, or by name.",
|
|
179
179
|
"Sources, in order: a local copy of the free register (REEP_DUCKDB_PATH), then the Reep API (REEP_API_KEY; keys are",
|
|
180
180
|
"issued by hand on request, never self-service). With neither set, it returns setup steps and a DuckDB query.",
|
|
181
|
-
"Keeping the local file current: Reep
|
|
181
|
+
"Keeping the local file current: Reep publishes a download release weekly or less often; new matching reaches the",
|
|
182
|
+
"Reep API daily. Every local answer ends with the file's release stamp checked",
|
|
182
183
|
"against https://data.reep.football/releases/latest.json. If it says the file is out of date, tell the user and offer",
|
|
183
184
|
"to run the curl command it gives, which downloads https://reep.football/downloads/duckdb over the same path; the",
|
|
184
185
|
"next call uses the new file without a restart. Before bulk matching, make sure the file is current.",
|
package/dist/reep.js
CHANGED
|
@@ -321,7 +321,7 @@ async function freshnessNote(path, local, fetchImpl) {
|
|
|
321
321
|
catch (error) {
|
|
322
322
|
return (`Local register release: ${local ?? "unknown"}. Could not check for a newer release ` +
|
|
323
323
|
`(${error instanceof Error ? error.message : String(error)}). The current stamp is at ${REEP_LATEST_URL}; ` +
|
|
324
|
-
`releases are weekly. If it differs from the local release:\n${update}`);
|
|
324
|
+
`download releases are weekly or less often. If it differs from the local release:\n${update}`);
|
|
325
325
|
}
|
|
326
326
|
if (local === current)
|
|
327
327
|
return `Local register release: ${local} (current).`;
|
|
@@ -475,7 +475,8 @@ function setupGuidance(q, note) {
|
|
|
475
475
|
"",
|
|
476
476
|
`1. Free, no key: download the whole register (${REEP_DOWNLOAD_URL}, one DuckDB file of several hundred MB)`,
|
|
477
477
|
" and set REEP_DUCKDB_PATH to its path in this server's MCP configuration. Lookups then run locally.",
|
|
478
|
-
" Reep
|
|
478
|
+
" Reep publishes a download release weekly or less often; this tool reports when the local file is out of date",
|
|
479
|
+
" and how to refresh it. The daily matching updates go to the Reep API only.",
|
|
479
480
|
`2. The Reep API: set REEP_API_KEY. Keys are issued by hand on request, with no self-service sign-up;`,
|
|
480
481
|
` email ${REEP_CONTACT} with your organisation and what you are matching.`,
|
|
481
482
|
"",
|
|
@@ -55,9 +55,10 @@ these. Code written for the old layout fails on the new file.
|
|
|
55
55
|
|
|
56
56
|
## Keeping a local copy current
|
|
57
57
|
|
|
58
|
-
A new release is cut
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
A new download release is cut weekly or less often. The daily matching goes to
|
|
59
|
+
the API only, so the file has no matches made after its release. The DuckDB file
|
|
60
|
+
of release `2026-10-31.1` does not record its own stamp, so keep the stamp of the
|
|
61
|
+
release you downloaded next to the file, or compare the file's SHA-256 with the `sha256` of
|
|
61
62
|
`reep-register.duckdb` in the current `release.json`. When they differ, download
|
|
62
63
|
the file again from https://reep.football/downloads/duckdb over the old copy,
|
|
63
64
|
then resolve stored Reep IDs through the `redirects` table. Check before any bulk
|
package/docs/reep/overview.md
CHANGED
|
@@ -16,7 +16,8 @@ checked against release `2026-10-31.1` on 2026-11-03.
|
|
|
16
16
|
|
|
17
17
|
## Two ways in: download or API
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
They do not update at the same rate. The API gets new matching daily. The
|
|
20
|
+
download is a stamped release, published weekly or less often. Pick by the job.
|
|
20
21
|
|
|
21
22
|
| Question | Download (DuckDB, Parquet or CSV) | API |
|
|
22
23
|
|---|---|---|
|
|
@@ -25,11 +26,12 @@ Both serve the same weekly, stamped release. Pick by the job.
|
|
|
25
26
|
| Matching a whole dataset | Yes, SQL joins over every table | No, one lookup at a time, rate-limited |
|
|
26
27
|
| One live lookup from an app | Only if you host the file | Yes, nothing to host |
|
|
27
28
|
| Redirects after a merge | Join the redirects table yourself | Automatic: the survivor is returned |
|
|
28
|
-
|
|
|
29
|
+
| How current it is | The last download release, weekly or less often | Updated daily with new matching |
|
|
30
|
+
| What data it exposes | The whole release | The same kinds of record, nothing extra |
|
|
29
31
|
|
|
30
32
|
Rule of thumb: for more than a few hundred records, or any recurring pipeline,
|
|
31
33
|
download the file and join. Use the API for a single lookup from a running
|
|
32
|
-
application.
|
|
34
|
+
application, or when an ID matched since the last download release matters.
|
|
33
35
|
|
|
34
36
|
**API keys are not self-service.** There is no sign-up form. Email
|
|
35
37
|
getintouch+nutmeg@withqwerty.com with your organisation, which group you are in
|
|
@@ -114,11 +116,13 @@ Sources: [downloads and licence](https://reep.football/data/),
|
|
|
114
116
|
|
|
115
117
|
## Releases and corrections
|
|
116
118
|
|
|
117
|
-
A new release is cut weekly. Each carries a stamp such as
|
|
118
|
-
releases used stamps such as `20260915T203651Z`), a
|
|
119
|
-
per-file SHA-256 checksums, and a `manifest.json` of counts. The pointer to the
|
|
119
|
+
A new download release is cut weekly or less often. Each carries a stamp such as
|
|
120
|
+
`2026-10-31.1` (older releases used stamps such as `20260915T203651Z`), a
|
|
121
|
+
`release.json` file list with per-file SHA-256 checksums, and a `manifest.json` of counts. The pointer to the
|
|
120
122
|
current release is always at https://data.reep.football/releases/latest.json, and
|
|
121
|
-
every API response carries the stamp
|
|
123
|
+
every API response carries the stamp of the data it served in the
|
|
124
|
+
`X-Reep-Release-Stamp` header. The API updates daily, so that stamp can be newer
|
|
125
|
+
than the stamp of the current download.
|
|
122
126
|
|
|
123
127
|
A wrong mapping found while joining is worth reporting: submit the two provider
|
|
124
128
|
IDs and what is believed to be right through
|
package/package.json
CHANGED
package/providers.json
CHANGED
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"aliases": ["reep-football", "reep.football"],
|
|
290
290
|
"access_level": "open-data",
|
|
291
291
|
"licence_status": "Releases are CC0 1.0, provider-ID bridges included. The download needs no key. API keys are issued by hand on request (getintouch+nutmeg@withqwerty.com); there is no self-service sign-up.",
|
|
292
|
-
"public_safety_notes": "Document the current register only (reep.football, /api/v1). Spec snapshot in specs/reep/ comes from the public, unauthenticated https://reep.football/openapi.yaml - see specs/README.md. Endpoint claims are validated against it in CI. Do not hard-code release counts; they change
|
|
292
|
+
"public_safety_notes": "Document the current register only (reep.football, /api/v1). Spec snapshot in specs/reep/ comes from the public, unauthenticated https://reep.football/openapi.yaml - see specs/README.md. Endpoint claims are validated against it in CI. Do not hard-code release counts; they change with each release.",
|
|
293
293
|
"version": "v1",
|
|
294
294
|
"package": null,
|
|
295
295
|
"sources": [
|