• Resolved Navida

    (@landscape113)


    Hi,

    I am looking for the output of this Jason data, the latest “value” (Temperature, humidity) and “time_server”.

    {“body”:[{“beg_time”:1434231900,”step_time”:1800,”value”:[[29.6,44],[26.7,47],[17.7,91]]}],”status”:”ok”,”time_exec”:0.018509864807129,”time_server”:1434335113}

    to

    Temperature : 17.7
    Humidity : 91
    time_server : 1434335113

    I was wondering if I have a template.
    Thanks in advance for your help!

    Thanks,
    Alireza

    https://ww.wp.xz.cn/plugins/json-content-importer/

Viewing 1 replies (of 1 total)
  • Plugin Author berkux

    (@berkux)

    Hi Alireza,

    is the latest value always the third value?
    Or does this change?
    There will be an enhancement of the shortcodeparameter in a upcoming permium version of the plugin: Yet numberofdisplayeditems must be numeric, then numberofdisplayeditems can be “n,m” to grab the items n to m.
    Regarding your JSON, I might add some more features there.

    Best
    Bernhard

Viewing 1 replies (of 1 total)

The topic ‘Importing Weather Station JSON Data’ is closed to new replies.