Skip to content

Instantly share code, notes, and snippets.

@TurBoss
Forked from abma/client.py
Created January 26, 2015 14:32
Show Gist options
  • Save TurBoss/c95cac7fd4087d28e247 to your computer and use it in GitHub Desktop.
Save TurBoss/c95cac7fd4087d28e247 to your computer and use it in GitHub Desktop.
#!/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]['version']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment