Preview Widgets
Preview widgets before adding them to your website:- In the sidebar, select Integrations > Widgets.
- Select Choose Widget to switch between available widgets.
- Use Get Widget Code to generate the embed code.
Installation
Copy and paste the HTML snippet below into your website. ReplaceAPIKEY with your API key and set the data-widget attribute to the widget ID you want to display.
To avoid leaking sensitive data, it is recommended to create an API key with only
view permissions. Your API key will be publicly accessible.Available Widgets
The following widgets are currently available. Each widget is identified by a widget ID passed to thedata-widget attribute.
- Roster
data-widget='roster' - Awards
data-widget='awards' - Calendar
data-widget='calendar' - Forms
data-widget='forms' - Positions
data-widget='positions' - Qualifications
data-widget='qualifications' - Specialties
data-widget='specialties' - Ranks
data-widget='ranks'
Options
Widgets can be customized by providing additionaldata attributes. Below are the list of available configurable options:
Specific Resources
A few widgets support the ability to provide an identifier to retrieve a specific resource. For example, you may want to display a specific form in your website. By providing thedata-resource attribute, you can retrieve a specific form.
Supported Widgets: Forms
Ranks