def _set_data(self, action):
        """
        capture Wikidata API response data
        """
        if action == 'siteinfo':
            self._set_siteinfo()
        elif action == 'sitematrix':
            self._set_sitematrix()
        elif action == 'sitevisitors':
            self._set_sitevisitors()
def _set_data ( self , action ) : if action == 'siteinfo' : self . _set_siteinfo ( ) elif action == 'sitematrix' : self . _set_sitematrix ( ) elif action == 'sitevisitors' : self . _set_sitevisitors ( )
capture Wikidata API response data