Programmatic way of reading the MDN docs

Hey,

I’m writing a code completion tool for javascript, and am looking for a programmatic way of reading the MDN docs (to get the names of the classes, objects, functions, fields etc).

Any pointers would be helpful!