Wish to include your bttn's press count in a dashboard view?


It's easy - just publish your bttn's REST API counter endpoint under bttn properties. Then add a new widget or other element in your dashboard view, linking to your bttn's counter feed. You can use the text-only formatting to get just the number.


For example, the following returns the counter value for bttn with short ID 1, reduced by 10 presses, in text/csv format:

https://api.bt.tn/2014-06/1/counter?format=text&startat=-10


For more details, please refer to the API documentation available at my.bt.tn/api