You should be able to loop from 1 to the length of the JSON array (it looks like there are 10 entries but I’m not sure how to get this dynamically) and use the loop index variable (e.g. i) as the “1” in your get property field. As you get the value, add it as the last item in a list instead of setting app apiResponse to the value.
I went to https://wowfreebies.co.uk/wp-json/wp/v2/offer and copied the JSON into a text string assigned to a variable. But I’m having a hard time parsing it because I don’t know the categories values. What’s an example of a ?categories= value that works with this API?
Edit: oh, 9 works.
Hmm. I’m used to JSON objects but this is presenting an array (starting with a bracket [ ). I had thought a list block might work with it but I haven’t had any luck.
Here is my approach:
Set APP apiResponse to Get Object From JSON -> Response
For each i in APP apiResponse
FROM idTest SET text TO Generate JSON from Object -> i
That should iterate through the list displaying the JSON for each item. You can progressively parse the results. You might also check out JSON Explorer/Browser see what the results look like.
Feel free to DM me with specific questions. I use JSON almost exclusively for data storage, so I’ve got tons of tips and tricks.