Wikidata:Property proposal/NPR station ID
Jump to navigation
Jump to search
NPR station ID[edit]
Originally proposed at Wikidata:Property proposal/Authority control
Description | identifier for a National Public Radio member station |
---|---|
Represents | NPR (Q671510) |
Data type | External identifier |
Domain | radio station (Q14350) |
Allowed values | [1-9]\d* |
Example 1 | WVXU (Q7957077) → 704 (webpage, json) |
Example 2 | WNPN (Q7956618) → 333 (webpage, json) |
Example 3 | WNYC-FM (Q24204255) → 554 (webpage, json) |
Example 4 | WNYC (Q24207146) → 553 (webpage, json) |
Source | https://www.npr.org/stations (JSON endpoint: https://www.npr.org/proxy/stationfinder/v3/stations) |
Planned use | Pulling a station's metadata; linking to its podcasts |
Number of IDs in source | 1600+ |
Expected completeness | eventually complete (Q21873974) |
Formatter URL | https://www.npr.org/podcasts/organizations/$1 (webpage), https://www.npr.org/proxy/stationfinder/v3/stations/$1 (json) |
See also | NPR podcast ID (P5840), en:Category:NPR member stations |
Motivation[edit]
There's lots of useful metadata about all these stations in those JSON links. These station IDs are used consistently throughout NPR's systems (according to their docs), but they are most accessible to the public through the stationfinder API (the backend for npr.org/stations) and the podcasts directory. There is public documentation for the stationfinder API (N.B. To use the API without authentication, replace station.api.npr.org
with www.npr.org/proxy/stationfinder
). –IagoQnsi (talk) 05:18, 7 August 2020 (UTC)
Discussion[edit]
- Support I would have thought they used the call letters, but I guess one station can have several of those? Anyway, good to have this. ArthurPSmith (talk) 17:17, 7 August 2020 (UTC)
- Support --Hannes Röst (talk) 14:07, 10 August 2020 (UTC)
- Support. YULdigitalpreservation (talk) 14:23, 13 August 2020 (UTC)