Show the number of subscribers of a Mailchimp Newsletter on your Panic Status Board.
Update November 2016: From now on, Status Board is history. Read more about it on the Panic Blog.
- Go to Mailchimp's website and get your API-Key.
- Download statusboard-mailchimp-subscribers.php and enter your API-Key on line 56.
- Upload the file to your server.
- On your iPad: Open Status Board, add a DIY panel (the one with the "< >" symbols), tap on it and enter the path to the files on your server. (http://example.com/path/to/statusboard-mailchimp-subscribers.php)
- Be happy.
If you only want the php function without the styling stuff, here is the snippet on Gist.
- This is just a minimal 3-minute-example. Of course you can change, modify, adapt and go crazy with it.
- The script is primarily intended for my personal use and is provided "as is". I have no plans of making updates on a regular basis. There's no warranty expressed or implied. Use it at your own risk.
- Anyway, if you have suggestions, corrections, or just want to say hello, please feel free to drop me a line on Twitter (@gimesi).
This script relies on the "Mini MailChimp API v2 wrapper" by Drew McLellan which can be found at https://github.com/drewm/mailchimp-api