Class FBFactory


  • public class FBFactory
    extends Object

    This factory uses the FogBugz API to interact with a given FogBugz instance. You will need to supply the URL of your FogBugz instance, which will be referenced here as baseURL.

    If you have an API token, you can generate FogBugz instances like so:
     FogBugz fb = FBFactory.newFogBugz(baseURL, authToken);
     
    Otherwise, you can alternatively use:
     FogBugz fb = FBFactory.newFogBugz(baseURL, email, password);
     
    After instantiating, you may then use fb.getAuthToken(); to obtain a valid API token for later.