/SalesBoard

AppFigures sales figures in your Panic StatusBoard

Primary LanguageRubyMIT LicenseMIT

SalesBoard

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.

SalesBoard

Installation

  1. Open Terminal and install the required gems gem install httparty json_pure terminal-notifier
  2. Copy this SalesBoard folder somewhere.
  3. Get yourself an AppFigure API key and note down the Client Key.
  4. Open salesboard.rb and adjust the values inside the configuration block to match you're respective install.
  5. Open salesboard.sh and update its path to the salesboard.rb script to match where you've installed it
  6. Open com.secondgear.salesboard.plist and update its ProgramArguments value to match where you are storing the salesboard.sh file you just updated in step 3.
  7. Copy com.secondgear.salesboard.plist to ~/Library/LaunchAgents
  8. Open Termimal and run launchctl load ~/Library/LaunchAgents/com.secondgear.salesboard.plist. This should generate the first version of your json file.
  9. Go to Dropbox and get a shareable link for the JSON file that is output and add it to Status Board on your iPad.
  10. Get rich or die tryin'.

Known Issues

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.

To Do

Add code block to grab all product IDs automatically and process

Donations

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.

Support

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]