currently I'm using
papertrail-systems() {
curl -s -H "X-Papertrail-Token: `cat ~/.papertrail.yml | sed -r 's/token://'`" https://papertrailapp.com/api/v1/systems.json | python -m json.tool | grep '"name":' | sed -r 's/ +"name": "(.*)",/\1/'
}
in my .bashrc file.
But it was a faff to setup, would be greate if there was a simpler way of getting this.