Demo:
http://secure.avantvision.net/portlet/api/test/
Now don't be shy and get it.!!
You can show your bandwidth in your site, or wherever you want to..!!
Download now:
Update v 1.1:
- Rounded Numbers.
- Search bandwidth used by any range of dates.
- Generate Graphic by any date .
- New overview page with less server strain showing only this month usage.
- New "More graphics" page with improved code and accuracy showing: today's bandwidth, last 7 days, this month, and last month stats and graphics.
- Search implemented, tested and working just fine.
For all those who downloaded update now this fixes a lot of things and can be called stable.
Same Download Url.. Diferente Code..!
https://secure.avantvision.net/downloads/bwgraphs.zip
Mirror and Code View
http://github.com/avantvision/the-planet-api-php-bandwidth
Installation:
Download, decompress, upload to a php enabled server, upload everything to a new folder just to make sure...
Edit config.php
put your orbit api username, password, hardware id ( if you don't know it don't worry) and your ip address...
if you don't know your hardware id, write your ip adress in config.php and visit hwtype.php there you should see a 5 digit code, that's your hardware id, go back to config.php and write that digit where it's supposed to.
That's it..!!
Visit now index.php and see your bandwidth graphics..!!!
Thanks to the planet staff and the guys at php freenode irc channel.
I encourage you to work upon this and make it better.
Carlos Barbosa
Avantvision.net
