def api(self, name):
assert name, '<STR_LIT>'<EOL>if flow.__name__ == name:<EOL><INDENT>api = flow.FlowApi()<EOL><DEDENT>elif sign.__name__ == name:<EOL><INDENT>api = sign.SignApi()<EOL><DEDENT>elif sms.__name__ == name:<EOL><INDENT>api = sms.SmsApi()<EOL><DEDENT>elif tpl.__name__ == name:<EOL><INDENT>api = tpl.TplApi()<EOL><DEDENT>elif user.__name__ == name:<EOL><INDENT>api = user.UserApi()<EOL><DEDENT>elif voice.__name__ == name:<EOL><INDENT>api = voice.VoiceApi()<EOL><DEDENT>assert api, "<STR_LIT>" + name<EOL>api._init(self._clnt)<EOL>return api<EOL>
return special API by package's name