Hi all experienced Bubblers
I am using API plugin to get data from an Api
I want to get Rental availability
I have connected and calling the api, it returns with response, see attached screen
The response returns 5 item “to, from, available, closed and title”, But all comes with raw data. i am trying to figure out how to save the data in db ( i have created a data type availability with 5 fields to, from, available, closed and title) and show in the front end.
You can access data returned by your API connection in one of two ways, depending upon how you’ve set it up:
If you’ve configured your API call as “data”, you’ll see expressions in any expression builder field for “Get Data from an API…”. If you’ve configured your API call as an “action”, you’ll see a workflow action for pinging the API. That action’s returned data is available to downstream actions (such as Data actions like “make a new thing”, “make changes to a thing”, and Element > Set State actions) as “Results of step x’s blah-de-blah field” (where x is the step order of your API action in the workflow).
attached a procedure (there is still some french on screen prints, nobody’s perfect
to explain, once you access data from API (or any other source), how to insert it into Bubble (create new thing).
NB: it works well but performance is poor and not reliable if you have hundreds of records