Should work with multiple users.
YourDeveloperFriend opened this issue · 3 comments
I'm only just recently skimming through this as an option to playing with Pivotal Tracker's API, and I noticed that the process revolves around only one user using one Secret Key. If I want multiple users to use my dashboard, then I'd run into complications. Maybe it should be something along the lines of:
pivotalUser = pivotal.new(<api token>);
pivotalUser.command(data);
What do you think?
Sounds good to me; we're going to have a note somewhere to warn people upgrading, however.
Would you be able to make a PR for this? If so, the only thing I would like is that we do instantiation the following way:
var Pivotal = require('pivotal');
var myPivotal = new Pivotal('my token');
Yeah, let me see what I can do. I'm only on the discovery phase of the Pivotal app that I'm thinking of building, though, so it may be awhile.
I changed it. It wasn't too hard. I'm thinking about how to implement a test to check two simultaneous accounts at once, but I'm not sure how to fit that into the waterfall model. Any thoughts?