Revision: 21956
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 26, 2009 10:10 by javadude
Initial Code
import groovy.net.xmlrpc.* import java.net.ServerSocket def serverProxy = new XMLRPCServerProxy("http://snipplr.com/xml-rpc.php") // check api key // returns 1 if valid serverProxy.user.checkkey("[yourkey]") // returns all languages on Snipplr as map def langMap = serverProxy.languages.list("[yourkey]","") langMap.each { println it.value } // returns list of (your own!) snippets def snippets = serverProxy.snippet.list("[yourkey]","groovy") println "You have ${snippets.size()} snippets and favorites" snippets.each { println it } // access a specific snippet def snippet = serverProxy.snippet.get("25410") println snippet // individual attributes println snippet.source println snippet.tags println snippet.created
Initial URL
http://www.bighugesystems.com/wordpress/?p=42
Initial Description
Initial Title
XML-RPC Access to Snipplr with Groovy
Initial Tags
groovy
Initial Language
Groovy