I only noticed now that you hijacked a discussion which is 5 years old. That is a nice example why you should use APIs (the data storage and model might change).
You are definitely barking up the wrong tree wanting to extract tables. I cannot recommend that.
Cheers,
Julius