I have created a dashboard using us map widgets in dashing using following git link:
https://gist.github.com/jrunge/acd98d3d550911bdc4b5
Can anybody tell me how to create the custom job to populate data to be sent to widget? The JSON data follows this format
{
"points": [
{
"id": 12345,
"lat": 35,
"lon": -70,
"type": "red"
},
{
"id": 678910,
"lat": 35,
"lon": -70,
"type": "green"
}
]
}
Do I need to create a shell script or command to populate the data.