Skip to content

Instantly share code, notes, and snippets.

@abma
Created January 16, 2015 20:55
Show Gist options
  • Save abma/902ff984e7dda5a95f41 to your computer and use it in GitHub Desktop.
Save abma/902ff984e7dda5a95f41 to your computer and use it in GitHub Desktop.
upq client example to fetch latest 64 bit engine
#!/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']
@TurBoss
Copy link

TurBoss commented Jan 16, 2015

nice thx a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment