0.0.6 • Published 10 years ago

node-teambox v0.0.6

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

node-teambox

A node.js wrapper for the Teambox API.

Installation

npm install node-teambox

Usage

var Teambox, client;
Teambox = require('teambox');
client = Teambox.createClient({
  username: "foo",
  password: "bar"
});

client.Projects.all(function (err, projects) {
    //
    // List all projects for this Teambox account.
    //
});

Implemented endpoints

Activities

ResourceDescription
GET /api/2/activitiesList activities

Attachments

ResourceDescription
GET /api/2/activitiesList attachments

Projects

ResourceDescription
GET /api/2/projectsList projects
GET /api/2/projects/:idProject detail
GET /api/2/projects/:id/tasksProject's tasks list
GET /api/2/projects/:id/activitiesProject's activities list
GET /api/2/projects/:id/conversationsProject's conversations list
GET /api/2/projects/:id/attachmentsProject's attachments list
GET /api/2/projects/:id/commentsProject's comments list
POST /api/2/projectsCreate a new project
PUT /api/2/projects/:idUpdates a project
DELETE /api/2/projects/:idDeletes a project
POST /api/2/projects/:id/commentsCreate a new comment a project

Tasks

ResourceDescription
GET /api/2/tasksList tasks
GET /api/2/tasks/:idTask detail
POST /api/2/tasksCreate a new task
PUT /api/2/tasks/:idUpdates a task
DELETE /api/2/tasks/:idDeletes a tasks
GET /api/2/tasks/:id/commentsTask's comments list
POST /api/2/tasks/:id/commentsCreate a new comment a task

Conversations

ResourceDescription
GET /api/2/conversationsList conversations
GET /api/2/conversations/:idConversation detail
POST /api/2/conversationsCreate a new conversation
PUT /api/2/conversations/:idUpdates a conversation
DELETE /api/2/conversations/:idDeletes a conversation
GET /api/2/conversations/:id/commentsConversation's comments list
POST /api/2/conversations/:id/commentsCreate a new comment a conversation

Comments

ResourceDescription
GET /api/2/commentsList comments
GET /api/2/comments/:idComment detail
POST /api/2/commentsCreate a new comment
PUT /api/2/comments/:idUpdates a comment
DELETE /api/2/comments/:idDeletes a comment

Development

This library uses grunt for development. You can run tests with grunt test

Contributing

  1. Create an issue/ Pick and issue.
  2. Fork the repo.
  3. Create a branch.
  4. Fix the issue.
  5. Create a pull request.
0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago