Trouble accessing json - WikiViewer

I am able to receive the json data from the api, but I’m not sure how to actually access the info inside the pages, like the title or the extract, without going through each one at a time. Because they each have a different page number.

My javascript:

Thank you, mate. It’s the thing, which I was finding.