You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eana Hufwe edited this page Feb 10, 2019
·
1 revision
Written for EFB Telegram Master 2.0.0b18
A standard Python XML RPC server is implemented in ETM 2.x. It can be enabled by adding a rpc section in ETM's config.yml file.
rpc:
server: 127.0.0.1port: 8000
Warning: The xmlrpc module is not secure against maliciously constructed data. Do not expose the interface to untrusted parties or the public internet, and turn off after use.
Set up a SimpleXMLRPCClient in any Python script and call any of the exposed functions directly. For details, please consult Python documentation on xmlrpc.