Skip to content

Support for LeaderBoard optional parameters #33

@joeserg

Description

@joeserg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions