def get_embed_apps(self, token, email):
self.clean_error()<EOL>try:<EOL><INDENT>url = Constants.EMBED_APP_URL<EOL>data = {<EOL>'<STR_LIT>': token,<EOL>'<STR_LIT:email>': email<EOL>}<EOL>headers = {<EOL>'<STR_LIT>': self.user_agent<EOL>}<EOL>response = requests.get(url, headers=headers, params=data)<EOL>if response.status_code == <NUM_LIT:200> and response.content:<EOL><INDENT>return self.retrieve_apps_from_xml(response.content)<EOL><DEDENT>else:<EOL><INDENT>self.error = str(response.status_code)<EOL>if response.content:<EOL><INDENT>self.error_description = response.content<EOL><DEDENT><DEDENT><DEDENT>except Exception as e:<EOL><INDENT>self.error = <NUM_LIT><EOL>self.error_description = e.args[<NUM_LIT:0>]<EOL><DEDENT>
Lists apps accessible by a OneLogin user.

:param token: Provide your embedding token.
:type token: string

:param email: Provide the email of the user for which you want to return a list of embeddable apps.
:type email: string

Returns the embed apps
:return: A list of Apps
:rtype: list[App]

See https://developers.onelogin.com/api-docs/1/embed-apps/get-apps-to-embed-for-a-user Get Apps to Embed for a User documentation