JSON Integration

Hello!

I’m looking to integrate this into my site - Wikipedia JS

Does anyone have any advice on how to pass the parameters into web flow text boxes and images?

Many thanks,

Rory

I never use this idea. Anyway, this library only gives you access to information from Wikipedia (JSON). You should know how to code (JS & JSON) to convert this JSON to HTML (Subject for a long tutorial). Try to learn this idea first in codepen (This is not webflow issue) -or- find easier solution.

http://okfnlabs.org/wikipediajs/docs/wikipedia.html

In general in the code the developer put empty html tags such as:

<h4>
   <span class="title"></span>
</h4>

Than by JS → put title X inside this element.

https://stackoverflow.com/questions/8555320/is-there-a-clean-wikipedia-api-just-for-retrieve-content-summary

https://stackoverflow.com/questions/627594/is-there-a-wikipedia-api

Sorry, This is more a task for freelancer (Anyway on webflow you put the custom code. Nothing more).

The demo you linked explains this:

This simple demo uses wikipedia.js library to load information on the given page and display it below. The JS source for the demo is here while the HTML source is just this page!

The first link is the actual library used to get the JSON. The second link is something that you could code for your Webflow page to use the library to get and insert the data onto the page itself.

If you are interested in another JSON API demo, I have this project http://flickrsearch.webflow.io