<s> import plivohelper <EOL> import sys <EOL> try : <EOL> room = sys . argv [ <NUM_LIT:1> ] <EOL> memberid = sys . argv [ <NUM_LIT:2> ] <EOL> except IndexError : <EOL> print "<STR_LIT>" <EOL> sys . exit ( <NUM_LIT:1> ) <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>' : room , '<STR_LIT>' : memberid } <EOL> try : <EOL> print plivo . conference_kick ( call_params ) <EOL> except Exception , e : <EOL> print e </s>
