• Resolved cfuchsm4

    (@cfuchsm4)


    Dear Bernhard,

    I gladly found your JSON Content Importer Plugin, but I cannot wrap my head around the syntax.

    I’m trying to display the name of the current show of our online radio at https://radio-fri.at (now behind a coming-soon page)!
    From our Playout-Software I have got this API-link:
    https://radiofri.airtime.pro/api/live-info

    There is no need for an api-token or authentication.

    What syntax do I have to use, so that I can display in a wordpress page or widget simply “Gerade live: [name of the current show]”?

    Thank you for your help in advance!

    Kind regards
    Christian

    The page I need help with: [log in to see the link]

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

    (@berkux)

    Hi Christian,

    try this:

    [jsoncontentimporter url=https://radiofri.airtime.pro/api/live-info]{subloop:previous:-1}{previous.name}{/subloop:previous}[/jsoncontentimporter]

    “current” has no data to dsplay, see JSON please.

    Bernhard

Viewing 1 replies (of 1 total)
  • The topic ‘cannot display given data from json-api’ is closed to new replies.