Getting Wikipedia Page Content

Hi,

I am exploring the Wikimedia API for a project. I am able to fetch the content of the page using the ‘extracts’ property in the ‘query’ module of the Wikimedia API.

However, I was wondering if there a way to get the content of the TABLES present in a Wikipedia page. Of course, I could not find a direct property that does that but does anyone know of the combination of certain properties that can do the trick for me?

For Example - On the Game of Thrones Page if I want to capture info in the below tables,

Please point me in the right direction about this.

It does not seem like the API lets you easily get to that part of the page data.
https://www.quora.com/Does-the-Wikipedia-API-give-structured-information-on-the-infobox