Using npr-pmpsdk with npr.org

PHP integration

Install
composer require npr-pmpsdk
List stations close to you or filter by search criteria
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /v3/stations
Retrieve metadata for the station with the given numeric ID
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /v3/stations/{stationId}
SDK on GitHub 📄 API Docs
SDK
npr-pmpsdk
PHP
API
npr.org
npr.org:station-finder
At a glance
Language PHP
Endpoints2