The goal of this task is to make creating integrations easier. Creating integrations should only require two steps...
Fetch all of the necessary data from the service's API
Format fetched data as an object
We will write a processor function which will take the structured data and use the already existing Persona functions to create all of the stuff necessary. Just pass your array of objects to the processor function and you're done.
Here's a potential structure for the data we pass to this function...
The goal of this task is to make creating integrations easier. Creating integrations should only require two steps...
We will write a processor function which will take the structured data and use the already existing Persona functions to create all of the stuff necessary. Just pass your array of objects to the processor function and you're done.
Here's a potential structure for the data we pass to this function...
It would also be handy to write a validator function to check for errors in your structured data but that could come at another time.