Access
From WarfishWiki
How do I get access/started? As mentioned these are very early stage APIs are are likely to change and be fairly rough around the edges. However, if you would like access to them to try them out and help test them please contact support to have your account enabled (or you may want to create a separate test account if you're working on a bots, include both account emails in your message to support). Also see the Authentication section below.
xample UI Plugins process and "data flow" [back to top]
Building UI plugins is more straightforward since it only requires a webpage continaining some javasript code to get started. The main complication currently is that until a better authentication system is in place, only users who have requested to be enabled for XML/JSON apis will be able to use plugins built with these XML/JSON apis.
1. First you need to get access to the XML/JSON apis for your user id by contacting support. Unlike when building bots it is just as easy to use your own account while developing UI Plugins.
2. Once your userid has access to the XML/JSON apis you can begin constructing your html page containing JSON calls via script src= tags to the XML/JSON apis. You don't have to worry about authentication since your cookie is passed by your browser to Warfish when it is making the JSON calls. In this respect it is much similer to build UI plugins than bots.
3. Finally, when your plugin is working you can register it with Warfish so that any user on warfish can "install" it into their account and use it along-side the regular Warfish UI. Check your Settings / Plugins page for more information.
That is the basic idea. Here is a step by step tutorial on how to make a plugin using javascript: Javascript Plugin Tutorial
