Created
January 8, 2015 01:42
-
-
Save solanoize/d89e1c55b6cc1100aad1 to your computer and use it in GitHub Desktop.
client XMLRPC for android Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import xmlrpclib | |
| server = raw_input("Server IP : ") | |
| username = raw_input("USERNAME : ") | |
| email = raw_input("EMAIL : ") | |
| servAddr = "http://%s:8080" % server | |
| s = xmlrpclib.ServerProxy(servAddr) | |
| methods = s.system.listMethods() | |
| ''' | |
| for m in methods: | |
| print m | |
| ''' | |
| print "Create User", s.createUser(username,email) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment