node package manager

nodepivotal

Node and PivotalTracker

PivotalNode

Easy and simple way of communication between pivotaltracker with nodeJS

pivotalnode.getToken({username: 'o3704923@rtrtr.com', password: 'taquitos'}, function(error, PToken){

  pivotalnode.getProject(function(error, projects){
   // We have all the projects !!
  });

});

Run tests

node tests/pivotalnode.js
pivotalnode.getToken({username: 'o3704923@rtrtr.com', password: 'taquitos'}, function(error, PToken){
  //error: if something went wrong
  //PToken: PivotalTracker api response
});
pivotalnode.activityFeed( [{ params }] , function(error, result){
  // ...
});
pivotalnode.activityFeed({project: :ID, [{ params }] }, function(error, result){
  // ...
});
  • limit: you can limit the number of activity feed items to a desired number. Note the default value is 10, and there is a upper cap of 100
  • occurred_since_date: allows restricting the activity feed to only those items that occurred after a supplied date (example format: 2009/12/18 21:00:00 UTC)
  • newer_than_version: allows restricting the activity feed to only those items that have a greater than supplied version

Example:

pivotalnode.activityFeed({ project: 1234, limit: 50 }, function(error, result){
  // ...
});
pivotalnode.getProject(function(error, result){
  //..
});
pivotalnode.getProject({ project: :ID }, function(error, result){
  //..
});