Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    try

    [jsoncontentimporter url=http://dev.projectbreeze.eu/api/v2/sensors/ND00013BD/hour/?api_token=46f6a71d-bdab-4276-8328-d1f838ade524]
    {label}({abbreviation}) = {value}
    {subloop:grade:-1}{subloop:grade.labels:-1}{grade.labels.de}{/subloop:grade.labels}{/subloop:grade}
    {date}
    [/jsoncontentimporter]

    Formatting the date is a pro-feature.

    <ul>{% for e in _parent %}
    <li>{{e.label}}({{e.abbreviation}}) = {{e.value}}
    {{e.grade.labels.de}}<br>
    {{e.date | date("d.m.Y, H:i") }}</li>
    {% endfor %}
    </ul>

    see also
    http://wptest.kux.de/projectbreeze-eu/

    Thread Starter mycru.io

    (@kawaiikawaii)

    Danke. Werde Kauf von Pro empfehlen.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to access specific array label field’ is closed to new replies.