Twig: calculate and sort JSON-data

If you want to sort and calulate JSON-data the PRO-Version is needed and the twig-parser. Example-JSON: Template for the Plugins Template-Manager: Shortcode: In action:

API: results.elections.virginia.gov

API / JSON: http://results.elections.virginia.gov/vaelections/2015%20November%20General/Json/Member%20Senate%20of%20Virginia%20%28017%29.json Plugin-Display: What template is used? Try this:

API: grabaseat.co.nz

API: https://grabaseat.co.nz/vgrabview/destination/specials?airportCode= [jsoncontentimporter url=https://grabaseat.co.nz/vgrabview/destination/specials?airportCode=]{subloop-array:specials:-1}{originName}{/subloop-array:specials}[/jsoncontentimporter] Result:

API: i8at.com

http://www.i8at.com/sites/api.php?site_id=10877 gives some Restaurant-Menu-Data. Template: trivia: {{trivia}}<br> {% for meal in specials %}<b>{{meal.gname}}</b><br> {% for sitems in meal.items %}{{sitems.name}}<br>{{sitems.price}}{% endfor %} {% endfor %} Shortcode:: [jsoncontentimporterpro url=http://www.i8at.com/sites/api.php?site_id=10877 parser=twig id=NO_OF_TEMPLATE] In action:

API: buzz-mdhl.json.c.ergebnis-dienst.de (Fussball)

http://buzz-mdhl.json.c.ergebnis-dienst.de/standing-by-season/se18336/ gives some Sports-Data. Shortcode and Template: [jsoncontentimporter url=http://buzz-mdhl.json.c.ergebnis-dienst.de/standing-by-season/se18336/ basenode=round.standing]{current_matchday}. {name}<br>{subloop-array:standing:-1}{standing.rank}. {subloop:standing.team:-1}{standing.team.name}{/subloop:standing.team}<br>{/subloop-array:standing}[/jsoncontentimporter] Live data:

API: The New York Times

The world famous New York Times is much more than paper – they offer their content via an JSON-API at http://developer.nytimes.com. A add-on for the free JSON Content Importer enables you to add New York Times livecontent to your website. At http://api.json-content-importer.com/ you can see it in action

API: www.uwosh.edu

Show data from www.uwosh.edu. The challenge is to select the n-item of the “posts” array. This is possible with the pro-Version with a twig-template-code: (e. g. n=3) Template for the template-manager: Shortcode: [jsoncontentimporterpro url=http://api.json-content-importer.com/extra/json/wwwuwoshedu/get_tag_posts_tag_slugcols.json parser=twig id=NO_OF_TEMPLATE] In action:

API: bitvalor.com

Task: Display data from https://api.bitvalor.com/v1/ticker.json Free version: Pro-Version (date-formatting, shorter code, use of template-manager: much better for future wordpress-updates like the gutenberg-update for wordpress 5.0 – which maybe is a game changer for wordpress): Template-Manager of the plugin (remember the id of the template): Shortcode on page:

API api.coinmarketcap.com-bitcoin

Task: Display data from https://api.coinmarketcap.com/v1/ticker/bitcoin/ Pro-Version (date-formatting, shorter code, use of template-manager: much better for future wordpress-updates like the gutenberg-update for wordpress 5.0 – which maybe is a game changer for wordpress): Template-Manager of the plugin (remember the id of the template): Shortcode on page: In Action: