<s> import plivohelper <EOL> import sys <EOL> try : <EOL> member_filter = sys . argv [ <NUM_LIT:1> ] <EOL> except IndexError : <EOL> member_filter = "<STR_LIT>" <EOL> try : <EOL> uuid_filter = sys . argv [ <NUM_LIT:2> ] <EOL> except IndexError : <EOL> uuid_filter = "<STR_LIT>" <EOL> try : <EOL> only_mute = sys . argv [ <NUM_LIT:3> ] <EOL> except IndexError : <EOL> only_mute = '<STR_LIT:false>' <EOL> try : <EOL> only_deaf = sys . argv [ <NUM_LIT:4> ] <EOL> except IndexError : <EOL> only_deaf = '<STR_LIT:false>' <EOL> REST_API_URL = '<STR_LIT>' <EOL> API_VERSION = '<STR_LIT>' <EOL> SID = '<STR_LIT>' <EOL> AUTH_TOKEN = '<STR_LIT>' <EOL> plivo = plivohelper . REST ( REST_API_URL , SID , AUTH_TOKEN , API_VERSION ) <EOL> call_params = { '<STR_LIT>' : member_filter , <EOL> '<STR_LIT>' : uuid_filter , '<STR_LIT>' : only_mute , '<STR_LIT>' : only_deaf } <EOL> try : <EOL> print plivo . conference_list ( call_params ) <EOL> except Exception , e : <EOL> print e </s>
