Thu May 26 23:57:48 UTC 2005

Meatoo command-line client

Heres a command-line client for the Meatoo database.

It uses XML-RPC and should be simple enough to look at the Python code if you want to write your own in another language. Each method returns a nested list of 10 strings per package.

Heres a simple Ruby client to call the getPackage method:

require "xmlrpc/client"
server = XMLRPC::Client.new("gentooexperimental.org", "/RPC2", "8888")
print server.call("getPackage", "prboom")

Look at send_request in the Python client for a list of other methods you can call.

Posted by Rob Cakebread | Permalink