php-geckoboard-api
php-geckoboard-api copied to clipboard
Support for LeaderBoard optional parameters
trafficstars
Hey,
First off, this is a very useful library, so thank you for writing it!
I was wondering you would be able to add support for a couple of optional parameters on the LeaderBoard widget?
According to the Geckoboard API Docs you can optionally supply format and unit parameters:
https://developer.geckoboard.com/#parameters-10
It would be great to be able to do something like this:
$widget = new LeaderBoard();
$widget->setId( $widget_id );
$widget->setFormat('currency');
$widget->setUnit('GBP');
...
Thanks in advance.