title: How to get Contents section data from some Wikipedia page?
body: <p>I am looking for a <code>dump file</code> (ideally) or an <code>API</code> call to get the Contents section of Wikipedia pages.  e.g.  <a href="https://en.wikipedia.org/wiki/Fitbit" rel="nofollow noreferrer">Fitbit page</a> </p>
  
  <p><a href="https://i.stack.imgur.com/MIpNW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MIpNW.jpg" alt="Fitbit content"></a></p>
  
  <p>Any help really appreciated. Thanks!</p>