File: pythonxmlrpc.py

package info (click to toggle)
atheme-services 6.0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 9,556 kB
  • sloc: ansic: 66,611; sh: 6,519; php: 5,028; perl: 2,773; makefile: 741; sed: 16; ruby: 15; python: 3
file content (8 lines) | stat: -rwxr-xr-x 230 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/usr/bin/env python
# Simple example of using Atheme's XMLRPC server with python

import xmlrpclib

atheme = xmlrpclib.ServerProxy('http://127.0.0.1:8080/xmlrpc')

print atheme.atheme.command('', '', '::1', 'ALIS', 'LIST', '*')