Using Birkman XML API
Mostly we're using GetAssessmentReport to get report data, with this CURL:
curl -H "Content-type: text/xml" --data-binary @GetAssessmentReport.xml https://api.birkman.com/xml-3.0-report.php
It's wrapped up in a BirkmanAPI class.
A barebones PHP app that makes use of the Silex web framework, which can easily be deployed to Heroku.
This application supports the Getting Started with PHP on Heroku article - check it out.
$ composer install
$ export BIRKMAN_API_KEY=....
$ php72 -S 0.0.0.0:8888 -t web/
Install the Heroku Toolbelt.
$ heroku create
$ heroku config:set BIRKMAN_API_KEY=...
$ git push heroku master
$ heroku open
or
Once deployed you will need to goto the settings page and add ENV Variables for BIRKMAN_API_KEY
and SLACK_TOKEN
For more information about using PHP on Heroku, see these Dev Center articles: