Created
January 16, 2015 20:55
-
-
Save abma/902ff984e7dda5a95f41 to your computer and use it in GitHub Desktop.
upq client example to fetch latest 64 bit engine
This file contains 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
#!/usr/bin/env python | |
from xmlrpclib import ServerProxy | |
proxy = ServerProxy('http://api.springfiles.com/xmlrpc.php') | |
searchstring = { | |
"category" : "engine_linux64", | |
"limit": 1 | |
} | |
result = proxy.springfiles.search(searchstring) | |
print result[0]['springname'] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice thx a lot !