Hi Bubble experts. I am new to Bubble and have the following problem for which I am seeking guidance.
I have returns from two APIs which I’d like to combine into a RG.
The first API looks like this, there are several hundred items:
[
{“reference”: 1, “amount”: 100},
{“reference”: 1, “fee”: 10},
{“reference”: 1, “costs”: 15},
{“reference”: 2, “amount”: 150}
…etc]
The second API is called using reference from API 1 in the GET request:
{“reference”: 1, “description”: “some text”, “sku”: “some more text”}
I’d like the rows of the RG to look something like this:
1, amount: 100, fee: 10, costs: 15, some text, some more text
2, amount: 150, fee: 12, costs, 17, some other text, other sku text
I guess that the amount, fee and costs items would be in a nested RG? At the moment I am only able to get these on separate rows.
I have no control of the output of the APIs, although I have created a Python script to combine these into a single JSON, but I was hoping to do this task inside Bubble.
Any guidance on the approach I should take would be most welcome, thank you.