API Connector with MediaWiki API

I’ve been playing with the API Connector and have just about fathomed it (thanks Pergolese). But when I come to use it with the Wikipedia API I have some problems. This is my config:

and the result:

I am not sure but I don’t think it should be returning the pageid’s as though they were keys. If I try to use them in, say, a repeating group then I only get data for THAT pageid. Does that make sense?

This is what the raw data looks like (minus some boring extra keys):

Is it possible that the Wiki JSON format is not working with the API Connector? Or more likely, I’m just doing something dumb?

1 Like

Hey @jon.richings!

I think you just need to add another parameter:

formatversion=2

Here’s some info on it: API:JSON version 2 - MediaWiki

The relevant piece for you is that the query pages will come back as an array instead of distinct objects.

Hopefully that works better for you!

–Ken



Looking to improve your Bubble™ skills?

Let me turn
:thinking: :tired_face: :confounded:

into
:grinning: :sunglasses: :woman_student:

Coaching and Development at https://uniqueideas.com or schedule a free intro session :gift:

Ken Truesdale
LinkedIn

Man, that was easy! Thank you!

1 Like