The BitBar app lets you put the output from any script or program right in your Mac OS X menu bar.
I'm trying to add icons/data on Ubuntu top-bar the way BitBar does for Mac. Clicking on icon should display a widget which is customizable and which can be used to display sports score, weather etc.
Is there any api available for this?