carlosbuenosvinos / php-geckoboard-api Goto Github PK
View Code? Open in Web Editor NEWA PHP library for pushing data into Geckoboard custom widgets
Home Page: http://www.geckoboard.com
License: MIT License
A PHP library for pushing data into Geckoboard custom widgets
Home Page: http://www.geckoboard.com
License: MIT License
hey carlos, thanks for the nice work!
Was wondering if you can provide some additional docs, in the README, for the widgets that are implemented but not documented (ie. line charts).
After following the installation process in the README, copying and pasting the first widget code and replacing the Widget ID and API key with accurate values, I run my script and receive the following:
PHP Fatal error: Uncaught exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response
[status code] 400
[reason phrase] Bad Request
Thanks so much for putting this package together.
I found one thing that I believe needs to be changed in \Data\Bullet\Item.php
toArray() should use the key 'measure' instead of 'measurement'
Let me know if you have any questions.
Thanks!
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.
Hi,
Is there any plans on upgrading this library from Guzzle 3 to Guzzle 6?
Guzzle 3 is very very old and will from my experience not work (at all) with PHP versions newer than 7.0. And the lifetime of PHP 7.0 is coming to it's end quite soon: http://php.net/supported-versions.php
This lib is also the most downloaded geckoboard library on packagist, so it's probably worth upgrading it to work with supported versions of PHP (as of december): https://packagist.org/?query=geckoboard
Unless the project is abandoned, but I don't see any mentions of that (as in huge titles on top of the readme or so).
I have another request for the Num & 2nd Stat widget:
If $secondaryValue has not been set it would be great if null or "" is passed as the value.
Right now it gets set to 0 (intval of null). If 0 is sent then geckboard will calculate the % difference and list it as a 100% increase. In my cases, I'd like the % increase to not be included at all if secondary value is null.
Let me know if you have any questions.
Thanks,
Dan
Hi,
there seems to be missing the "monitoring" Widget (https://developer.geckoboard.com/#monitoring)
Would it be possible to have it ?
Cheers !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.