Using pmpsdk with npr.org

PHP integration

Install
composer require pmpsdk
Create a new OAuth2 access token
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /v2/token
Initiate an OAuth2 login flow for limited input devices
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /v2/device
SDK on GitHub 📄 API Docs
SDK
pmpsdk
PHP
API
npr.org
npr.org:authorization
At a glance
Language PHP
Endpoints3