This is kinda hacked together for personal use, but at Casy's request, I put it up here.
- Download composer & run
composer.phar install
- Go here and get an API key: https://trello.com/1/appKey/generate
- Update the
$key
and$secret
on line 16 and 17 with that info - Run the PHP file in the server (
sudo php -S localhost:80
works, just make sure whatever you use is on port 80) - Open the script in the browser, and authorize the app when prompted
- When it comes back, copy the oauth token and oauth secret to lines 19 and 20
- You can now use this script both in the CLI and in the browser if you wish.
- You should also update
$gist
on line 8 for your choice of gist file locations