Return to Snippet

Revision: 21968
at December 27, 2009 04:51 by javadude

Initial Code
import org.apache.xmlrpc.client.XmlRpcClient
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl

def XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl()
config.setServerURL(new URL(""))
def XmlRpcClient client = new XmlRpcClient()

Object[] params = ["[yourAPIkey]"]
def result = client.execute("user.checkkey",params)
println result

params = ["[yourAPIkey]","groovy"]
result = client.execute("snippet.list",params)
println result

Initial URL

Initial Description

Initial Title
Accessing SNIPPLR with Groovy and Apache XML-RPC

Initial Tags
apache, groovy

Initial Language