Fetching data from an external JSON, taking items and looping on them
Fetching data from https://getk2.org/showcase?format=json
Note the config: data_path: items in the frontmatter. This is because all the data in the json are childs of items.
We can also filter on the external json:
- /ext-json (all)
- /ext-json?id=2703 (id = a certain value)
- /ext-json?filter[id][]=gte:2702 (id >= a certain value)
-
Fudzilla
2020-01-29 12:45:41
Fudzilla is an online information portal that features news, reviews, and articles related to technology.