Home > Helparticles > Free Plugin: Show Data with subloop-array

Free Plugin: Show Data with subloop-array

Challenge:

Show data from http://api.json-content-importer.com/extra/json/PareStranoit.json

Shortcode:

[jsoncontentimporter url=http://api.json-content-importer.com/extra/json/PareStranoit.json]
totalResults: {totalResults}
{subloop-array:entry:-1} entry.championship_name: {entry.championship_name}
{subloop-array:entry.standing:-1}entry.standing.team_name: {entry.standing.team_name}
{/subloop-array:entry.standing} {/subloop-array:entry} [/jsoncontentimporter]

In Action:

totalResults: 2
entry.championship_name: Regular Season Serie A2 Credem Banca – Girone Bianco
entry.standing.team_name: Synergy Arapi F.lli Mondovì
entry.standing.team_name: Monini Spoleto