SalesBoard is a script that will generate a sales graph using the AppFigures API for display in Panic's new app Status Board.
SalesBoard uses your AppFigures credentials to ping their API and generate a JSON file that you can then load into SalesBoard.
- Open Terminal and install the required gems
gem install httparty json_pure terminal-notifier
- Copy this
SalesBoard
folder somewhere. - Get yourself an AppFigure API key and note down the Client Key.
- Open
salesboard.rb
and adjust the values inside the configuration block to match you're respective install. - Open
salesboard.sh
and update its path to thesalesboard.rb
script to match where you've installed it - Open
com.secondgear.salesboard.plist
and update itsProgramArguments
value to match where you are storing the salesboard.sh file you just updated in step 3. - Copy com.secondgear.salesboard.plist to
~/Library/LaunchAgents
- Open Termimal and run
launchctl load ~/Library/LaunchAgents/com.secondgear.salesboard.plist
. This should generate the first version of your json file. - Go to Dropbox and get a shareable link for the JSON file that is output and add it to Status Board on your iPad.
- Get rich or die tryin'.
Personally? Too many to list.
In Status Board? Not that I know of. I built it for Second Gear's stuff. Hopefully you'll find it useful too until AppFigures comes out with their own support.
Add code block to grab all product IDs automatically and process
If you find this script useful, I'd love if you could show your support by purchasing one of my products. Both are just $5.
- Committed for OS X - Get notified on your Mac whenever someone pushes code to a GitHub repository you care about.
- Elements for iOS - One of those Dropbox and Markdown text editors.
Run into an issue? Throw an issue up on GitHub. Better yet, throw up a pull request with a fix.
Wanna say hi? I'm on Twitter at @justin
Changelog: 2014-03-06: Amended script to support AppFigures API v2 [Dom Barnes] 2015-01-26: Updated for new features in Status Board, inc refresh time, scale to values and more added in Status Board v1.2 [Dom Barnes]