gnowgi/gnowsys-studio — pull request #6 by johnsonc (2012-03-22 08:05:18+00:00)
Title: get_nbh for xmlrpc

have coded a rudimentary get_nbh function in xmlrpc.. its a bit plain vanilla tho if you see the code..
have padded it with some try catch..

for now you can try it out at the test instance that's been set up...
>>> import xmlrpclib
>>> srv = xmlrpclib.ServerProxy("http://sbox.gnowledge.org:8910/xmlrpc/", allow_none=True)
>>> srv.metaWeblog.get_nbh("person","OT")
>>> srv.metaWeblog.get_nbh("place","OT")

Two funcs:
add_nums - just for starters
get_nbh - needs some further thought
-- 2nd parameter is not functional but opens a design idea (for further specification)
-- for None values , allow_none property to be set for the XMLRPCServer and client(given above)