Welcome, guest | Sign In | My Account | Store | Cart

Make a method call to an XML-RPC server using xmlrpclib (http://www.pythonware.com/products/xmlrpc/).

Python, 7 lines
1
2
3
4
5
6
7
from xmlrpclib import Server

server = Server("http://www.oreillynet.com/meerkat/xml-rpc/server.php")

print server.meerkat.getItems(
 {'search': '[Pp]ython', 'num_items': 5, 'descriptions': 0}
)