Wikidata:Property proposal/NPR station ID

From Wikidata
Jump to navigation Jump to search

NPR station ID[edit]

Originally proposed at Wikidata:Property proposal/Authority control

   Done: NPR station ID (P8561) (Talk and documentation)
Descriptionidentifier for a National Public Radio member station
RepresentsNPR (Q671510)
Data typeExternal identifier
Domainradio station (Q14350)
Allowed values[1-9]\d*
Example 1WVXU (Q7957077) → 704 (webpage, json)
Example 2WNPN (Q7956618) → 333 (webpage, json)
Example 3WNYC-FM (Q24204255) → 554 (webpage, json)
Example 4WNYC (Q24207146) → 553 (webpage, json)
Sourcehttps://www.npr.org/stations (JSON endpoint: https://www.npr.org/proxy/stationfinder/v3/stations)
Planned usePulling a station's metadata; linking to its podcasts
Number of IDs in source1600+
Expected completenesseventually complete (Q21873974)
Formatter URLhttps://www.npr.org/podcasts/organizations/$1 (webpage), https://www.npr.org/proxy/stationfinder/v3/stations/$1 (json)
See alsoNPR 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)[reply]

Discussion[edit]

@IagoQnsi, ArthurPSmith, Hannes Röst, YULdigitalpreservation: ✓ Done NPR station ID (P8561) Pamputt (talk) 06:20, 25 August 2020 (UTC)[reply]