If you run a site, and are using the widget, you might want to show elsewhere on your site how many people are using it. Well now you can do that easily.

+

An application programming interface (API) is an interface implemented by a software program that enables it to interact with other software. It facilitates interaction between different software programs similar to the way the user interface facilitates interaction between humans and computers.

−

First thing you need, is the settingsID. This is in the widget URL you are using.

+

===Accessing the API===

+

+

The Mibbit API allows you to gather information on your widget. You have to have a manager account, and a settings ID for the API to work. Where you see <settingsID> in this document, replace it with your own settings ID. This is in the widget URL you are using or in the example links on the [[Manager]]'s "Connection" page).

Contents

What is an API

An application programming interface (API) is an interface implemented by a software program that enables it to interact with other software. It facilitates interaction between different software programs similar to the way the user interface facilitates interaction between humans and computers.

Accessing the API

The Mibbit API allows you to gather information on your widget. You have to have a manager account, and a settings ID for the API to work. Where you see <settingsID> in this document, replace it with your own settings ID. This is in the widget URL you are using or in the example links on the Manager's "Connection" page).

For example:
widget.mibbit.com/?settings=42c110f3cbbaea489c0b0e40a40e6e18&channel=%23chat

Number of Users on a Widget

If you run a site, and are using the widget, you might want to show elsewhere on your site how many people are using it. We provide multiple formats for this information.

The results are updated every 20 minutes, so should give you a reasonable idea of how many mibbitians are chatting but not the exact number.

In the example output section, we assume there are 15 users using the widget.