Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

API client for for Node.js

tag: v0.8.0

Fetching latest commit…

Cannot retrieve the latest commit at this time


npm install -g lhapp


Client.constructor(name, token)

Creates a client instance with name and token stored as attributes. If your company's domain name at lighthouse is i.e. then you should pass foobar as name.


Runs callback with user object (profile of the token's owner).

Client.getUser(userId, callback)

Runs callback with user object for given userId.


Runs callback with projects list accessible by the client.

Client.getProject(projectId, callback)

Runs callback with project object for given projectId.

Client.getTickets(projectId, callback, limit=30, page=1, query='')

Runs callback with tickets list for given projectId.

Client.getTicket(projectId, ticketNumber, callback)

Runs callback with ticket object for given projectId and ticketNumber.

Client.getMilestones(projectId, callback)

Runs callback with milestones list for given projectId.

Client.getMilestone(projectId, milestoneId, callback)

Runs callback with milestone object for given projectId and milestoneId.

Client.getChangesets(projectId, callback)

Runs callback with changesets list for given projectId.


We write lhapp in coffee-script. For tests we use mocha. In order to run tests simply type in a terminal:

Something went wrong with that request. Please try again.