def _api_config_speedlimit(output, kwargs):
 value = kwargs.get('value')
 if (not value):
  value = '0'
 Downloader.do.limit_speed(value)
 return report(output)

def _api_config_speedlimit ( output , kwargs ) : value = kwargs . get ( 'value' ) if ( not value ) : value = '0' Downloader . do . limit_speed ( value ) return report ( output )
api: accepts output .