<s> import sys , os <EOL> sys . path . append ( os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT:..>' ) ) <EOL> import messagebird <EOL> ACCESS_KEY = '<STR_LIT>' <EOL> try : <EOL> client = messagebird . Client ( ACCESS_KEY ) <EOL> vmsg = client . voice_message_create ( '<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT>' : '<STR_LIT>' } ) <EOL> print ( '<STR_LIT>' ) <EOL> print ( '<STR_LIT>' % vmsg . id ) <EOL> print ( '<STR_LIT>' % vmsg . href ) <EOL> print ( '<STR_LIT>' % vmsg . originator ) <EOL> print ( '<STR_LIT>' % vmsg . body ) <EOL> print ( '<STR_LIT>' % vmsg . reference ) <EOL> print ( '<STR_LIT>' % vmsg . language ) <EOL> print ( '<STR_LIT>' % vmsg . voice ) <EOL> print ( '<STR_LIT>' % vmsg . repeat ) <EOL> print ( '<STR_LIT>' % vmsg . ifMachine ) <EOL> print ( '<STR_LIT>' % vmsg . scheduledDatetime ) <EOL> print ( '<STR_LIT>' % vmsg . createdDatetime ) <EOL> print ( '<STR_LIT>' % vmsg . recipients ) <EOL> except messagebird . client . ErrorException as e : <EOL> print ( '<STR_LIT>' ) <EOL> for error in e . errors : <EOL> print ( '<STR_LIT>' % error . code ) <EOL> print ( '<STR_LIT>' % error . description ) <EOL> print ( '<STR_LIT>' % error . parameter ) </s>
