Users hosting their business software on Amazon AWS can use the Amazon API Gateway to create an API for their custom software and connect it with Numerics to track their metrics. Numerics can connect to any compatible custom JSON via the Amazon API gateway protected with API Key based authentication. Similar to the Custom JSON integration in Numerics, the Amazon API gateway widgets require you to enter a JSON URL accessible by Numerics. The JSON data must be formatted as per the Numerics Widget Data Specification.

Examples for each widget type are shared below. Your JSON output should be precisely formatted as in the examples. The values are settable by your system but the keys must be named as in the examples. Once the JSON data is available, simply enter the entire URL to the JSON data into the path field. e.g. http://yourcompany.com/path/to/data.json.

Please Note: You must specify the full URL to your JSON data, including the ‘http://’ or ‘https://’ parts of the URL for the source.

Label from JSON data

Following is the Widget Data Spec for a label widget:

Label widget

If the JSON is formatted correctly, the widget should show a text label from the JSON data.

Number from JSON data

Following is the Widget Data Spec for a number widget:

Number widget

If the JSON is formatted correctly, the widget should show a number from the JSON data.

Number and difference from JSON data

Following is the Widget Data Spec for a number with change indicator widget:

Count difference widget

The first value is the actual number to be displayed while the second value is the number from the previous period that is used to calculate the change or difference percentage. If the JSON is formatted correctly, the widget should show a number with a percentage change indicator from the JSON data.

Line graph from JSON data

Following is the Widget Data Spec for a line graph widget:

Line widget

The data array can contain a maximum of 31 items. If the JSON is formatted correctly, the widget should show a line graph from the JSON data.

Named line graph from custom JSON data

Following is the Widget Data Spec for a named line graph widget:

Named line widget

The data array can contain a maximum of 31 items. If the JSON is formatted correctly, the widget should show a named line graph from the JSON data.

Top list from JSON data

Following is the Widget Data Spec for a top list funnel widget:

Top widget

The top 5 items will be chosen to draw the top list. If the JSON is formatted correctly, the widget should show a top list funnel chart from the JSON data.

Pie chart from JSON data

Following is the Widget Data Spec for a pie chart widget:

Pie widget

The top 5 items will be chosen to draw the pie slices and the rest will be added to one slice called other. If the JSON is formatted correctly, the widget should show a pie chart from the JSON data.

Gauge from JSON data

Following is the Widget Data Spec for a gauge widget:

Gauge widget

If the JSON is formatted correctly, the widget should show a gauge from the JSON data with a green background color.

Timer from JSON data

Following is the Widget Data Spec for a timer widget:

Timer widget

If the JSON is formatted correctly, the widget should show a timer from the JSON data counting down to the date: 21st December 2020 and the event name Warp drive activation will be displayed below the countdown, with a green background color.

Day Density chart from JSON data

Following is the Widget Data Spec for a day density calendar widget:

Day density widget

The data array must contain dates for a month. If the JSON is formatted correctly, the widget should show a day density calendar from the JSON data, with each block representing a day. Days with the highest values are the brightest, while days with lower values are incrementally more transparent and closer to the background color of the widget.

Hour Density chart from JSON data

Following is the Widget Data Spec for an hour density clock widget:

Hour density widget

The data array must contain items for 24 hours for a single day. If the JSON is formatted correctly, the widget should show an hour density clock from the JSON data, starting at 00 and broken into 24 equal slices, with each slice of the pie representing an hour. Hours with the highest values are the brightest, while hours with lower values are incrementally more transparent and closer to the background color of the widget.