Does trac have remote API?
I know there is xmlrpc plugin for trac. But I is not my trac site nor do I have admin rights. I just have a normal user account with limited priviledges.
Beside the obvious low level of doing things (submitting requests by emulating web browser), is there a better way to do this?
I'm interested mainly in these:
If you look at the "functional testing" in the Trac source, you'll find that we have code that exercises Trac using twill. You might find that to be a useful starting point for doing this sort of thing.
似乎唯一的方法是模拟浏览器。
Trac does not provide an API by default. You might install the XmlRpcPlugin. Trac then provides anonymous and authenticated access to an API via two protocols: XML-RPC and JSON-RPC.
A helper library for easier access is https://github.com/jakoch/PHPTracRPC
链接地址: http://www.djcxy.com/p/45004.html上一篇: 使用Arduino XBee Shield和XBee Explorer进行无线编程
下一篇: trac是否有远程API?