I figured it out ‘getItems’.
Never mind, I found it in documentation. I had been looking in the demo section. Thanks