You are alsmost there, paste this in Developter tools > Template and play around
{## Imitate available variables: ##}
{% set value_json = [
{
"serviceName": "the cotgrave",
"serviceIcon": "\"the",
"serviceIconRaw": "/resources/res.aspx?p=/DF243034569DC881C3ADBB185E7EF7869F1F67FC4B037931/cotgrave-connection.png",
"stopName": "Ring Leas",
"latLongPosition": "52.906537,-1.029848",
"latitude": 52.906537,
"longitude": -1.029848,
"result": [
{
"uniqueIdentifier": "400144",
"serviceName": "the cotgrave",
"serviceDisplayName": "the cotgrave",
"serviceIcon": "\"RouteListServiceIcon\"",
"busIconRaw": "/images/icons/bus.png",
"dueIn": "3 mins",
"destination": "Nottingham",
"dueTime": "2024-12-02T13:11:00Z",
"latitude": 52.912528,
"longitude": -1.037203,
"preciseTime": 3.0,
"cancelledService": false,
"ServiceId": 8
},
{
"uniqueIdentifier": "400142",
"serviceName": "the cotgrave",
"serviceDisplayName": "the cotgrave",
"serviceIcon": "\"RouteListServiceIcon\"",
"busIconRaw": "/images/icons/bus.png",
"dueIn": "23 mins",
"destination": "Nottingham",
"dueTime": "2024-12-02T13:31:00Z",
"latitude": 52.949158,
"longitude": -1.146637,
"preciseTime": 22.0,
"cancelledService": false,
"ServiceId": 8
},
{
"uniqueIdentifier": "400143",
"serviceName": "the cotgrave",
"serviceDisplayName": "the cotgrave",
"serviceIcon": "\"RouteListServiceIcon\"",
"busIconRaw": "/images/icons/bus.png",
"dueIn": "51 mins",
"destination": "Nottingham",
"dueTime": "2024-12-02T13:51:00Z",
"latitude": 52.908916,
"longitude": -1.034698,
"preciseTime": 51.0,
"cancelledService": false,
"ServiceId": 8
}
],
"serviceTimetable": [
{
"timetableLink": "/services/cotgrave/timetable",
"serviceName": "the cotgrave",
"serviceIcon": "\"RouteListServiceIcon\""
}
],
"communicationError": false,
"status": true,
"statusMessage": " Communication Issue We are currently experiencing an issue with realtime information. Please either view the timetables below, or try again in a few minutes."
}
] %}
{{ value_json.0.result[0:3] }}
{% for entry in value_json.0.result %}
{% if loop.index <= 3 %}
{{entry.dueIn }}
{% endif %}
{% endfor %}