Simple Dashing widget that show the amount of participants for a Fikket event.
The widget was made by @joren for use @openminds. If you end up using this widget, please send me a tweet! I'd love to hear about it.
This widget requires the curb gem for easy curl request in Ruby and your Fikket API key.
This widgets uses the number-widget, so no need to create a new one. You can add as much events as you want in the config file. Add the name, slug of id and api key of your event in config/fikket.yml file. Name your number widget with 'fikket_eventname' to match it with this job.
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="fikket_eventname" data-view="Number" data-title="Total participants"></div>
</li>
And that is all.
Have tips on making this better? Please leave a comment and/or fork the gist. Sending me a tweet on Twitter is probably a good idea as well!