Npr Station Finder
Connector for the npr-station-finder API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://station.api.npr.org - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
searchstations— GET /v3/stations — List stations close to you or filter by search criteriagetstationbyid— GET /v3/stations/{stationId} — Retrieve metadata for the station with the given numeric ID
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: searchstations
# (attach an 'oauth' credential to the task — no inline secrets)