A wrapper around teamwork api making it easier to perform requests.
npm install teamwork-apiA wrapper around teamwork api making it easier to perform requests.



``bash`
$ 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:
`js
process.env.TW_API = '1234567890'
process.env.TW_SUB = 'subdomain'
const tw = require('teamwork-api')()
`
Alternatively pass them in as function arguments
`js`
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.`js`
const tw = require('teamwork-api')('1234567890', 'https://tw.mycompany.com', custom_domain=true)
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 💻...