def __init__(self, **config):
for k, v in config.viewitems():<EOL><INDENT>try: getattr(self, k)<EOL>except AttributeError:<EOL><INDENT>raise AttributeError('<STR_LIT>'.format(k))<EOL><DEDENT>setattr(self, k, v)<EOL><DEDENT>
Initialize API wrapper class with specified properties set.