|
Project Information
|
All this does is provide a method that takes care of the challenge-response authentication and then deciphering the server's response. You still have to actually look at the LJ XML-RPC docs and figure out what parameters to pass to whatever calls you want to make. This ought to work on any LJ-type server providing an XML-RPC interface. (This may not be terribly "pythonic" as it was originally a quick-and-dirty hack attempted in a branch of asLJ/asLJCore development. As it was originally to be part of a Cocoa app/framework, it was written with some PyObjC stuff in it that has largely been commented out and the method was named in PyObjC convention; it runs fine under standard command-line python on Mac OS X 10.4 and 10.5 as well as on CentOS 5, so I expect it should work on any *nix type system with python 2.x that has the appropriate libs.) |