Skip to content

A wrapper around teamwork api making it easier to perform requests.

License

Notifications You must be signed in to change notification settings

moshie/teamwork-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teamwork Api

A wrapper around teamwork api making it easier to perform requests.

Travis Version Licence

Installation

$ npm install teamwork-api

Getting Started

The api key and sub-domain are required to connect to teamwork's api, provide these as environment variables like so:

process.env.TW_API = '1234567890'
process.env.TW_SUB = 'subdomain'

const tw = require('teamwork-api')()

Alternatively pass them in as function arguments

const tw = require('teamwork-api')('1234567890', 'subdomain')

If your teamwork installation uses a custom domain (ie. https://tw.mycompany.com) pass the custom_domain=true flag.

const tw = require('teamwork-api')('1234567890', 'https://tw.mycompany.com', custom_domain=true)

Contributing

I am happy for people to contribute to this project, fix or add new features.

Be sure when adding / modifying methods that the doc blocks are correct.

The documentation is built based on these comments using npm run docs.

Further to this ensure when you commit you are using npm run commit as this will help when semantic versioning the code.

Happy coding 💻...

API Reference

Account

Activity

Invoices

Expenses

Boards

Message Categories

File Categories

Notebook Categories

Link Categories

Clock In / Clock Out

Project Categories

Comments

Calendar Events

Companies

Files

Messages

Milestones

Notebooks

People

Status

Projects

Links

Risks

Time

Task Lists

Tasks

Task Reminders

Tags

Webhooks

Workload

Trashcan

About

A wrapper around teamwork api making it easier to perform requests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •