#VK Group Dashing Widget
Dashing Widget for displaying VK group members count.
##Usage
To use this widget, copy the vk_group.rb
file in your /jobs
folder, then copy vk_group.yml
into your /config
folder and setup the group_id
there (the VK API method used doesn't require api_token
, so just group_id
is needed).
Add gem 'rest-client'
to your Gemfile
and run bundle
. If you would like to store and display previous group members count value, add gem 'redis'
also (don't forget to install the Redis itself).
To include this widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="vk-group-widget" data-view="Number" data-title="VK Group" style="background-color:#567ca4"></div>
</li>
This widget is based on Number
widget, so in result you will get something like this -