code: def get_restbase(self, endpoint='/page/',
                       show=True, proxy=None, timeout=0):
          
          if endpoint != '/page/' and not self.params.get('title'):
              raise StandardError("endpoint %s needs a title" % endpoint)
  
          self.params.update({'rest_endpoint': endpoint})
  
          self._get('restbase', show, proxy, timeout)
  
          return self
docs: GET RESTBase /page/ endpoints needing only {title}
          https://en.wikipedia.org/api/rest_v1/
  
          for example:
              /page/
              /page/html/{title}
              /page/summary/{title}
              /page/mobile-sections-lead/{title}
  
          Required {params}: None
          Without arguments, lists RESTBase /page/ entry points
  
          Optional {params}:
          - [title]: <str> Mediawiki page title, file, category, etc.
          - [lang]: <str> Mediawiki language code (default=en)
  
          Optional arguments:
          - [endpoint]: RESTBase entry point (default=/page/)
          - [show]: <bool> echo page data if true
          - [proxy]: <str> use this HTTP proxy
          - [timeout]: <int> timeout in seconds (0=wait forever)
  
          Data captured:
          - exhtml: <str> "extract_html" from /page/summary
          - exrest: <str> "extract" from /page/summary
          - html: <str> from /page/html
          - image: <dict> {rest-image, rest-thumb}
          - lead: <str> section[0] from /page/mobile-sections-lead
          - modified (page): <str> ISO8601 date and time
          - title: <str> the article title
          - url: <str> the canonical wiki URL
          - url_raw: <str> probable raw wikitext URL
          - wikibase: <str> Wikidata item ID
          - wikidata_url: <str> Wikidata URL