-
What can it do?
-
Free and PRO Plugin
-
Ask your Question
-
Free Plugin: Installation and basic settings
-
Free Plugin: Start with easy Examples
-
Free Plugin: settings in detail
-
PRO Plugin: Installation and basic settings
-
PRO Plugin: Basic JCI start
-
PRO Plugin: settings in detail
-
PRO Plugin: twig-Template
-
PRO Plugin: Examples
-
PRO Plugin: create Custom Post Types
-
PRO Plugin: Other Plugins
-
PRO Plugin: application building
-
PRO Plugin: Data-Formats
-
PRO: Advanced Twig
Print
PRO: Load multiple JSON
Your situation:
You have a API that gives you a list of dataitems (e. g. Sport-Ranking). But for each dataitem you need additional info available via another API-request. The task is to load for each dataitems the data.
Example:
The JSON you get is a list of IDs. More data for each ID is available with another API-Request on an ID. So inside a JCI-Template another JCI-Template is called – is is what we call “nested”.
Solution:
Load the JSON-list and use the twig-filter “doshortcode” to execute another JCI-Shortcode
see here how this is done: http://api.json-content-importer.com/api-snooker-org-nested-shortcodes/
Was this article helpful?
0 out Of 5 Stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5
On this page: