2010-08-11, 17:31
Mnuu Wrote:Hi there
I'm about to start work on a python library for the JSON api , just wanted to check nobody had one already working before I start this. I've read through the thread and nobody seems to be working in python besides topfs2
Probably because few devices uses python but I don't know many that uses it beyond XBMC scripts (which can access jsonrpc).
At any rate, if you want to use python outside XBMC I'd suggest the jsonrpc python library that already exist (not xbmc specific) since it wraps jsonrpc extremely nice.
Somewhat like this:
xbmc = JSONRPC.Connect(IP, port)
xbmc.Ping()
xbmc.Introspect()
At some point I would like to do such a wrapping for xbmc scripts aswell which uses jsonrpc.