Skip to main content

Python Wrapper for Teamwork API

Project description

Python Wrapper for Teamwork API

API Reference: http://developer.teamwork.com/

To use, simply do:

>>> import teamwork
>>> instance = teamork.Teamwork('company.teamwork.com', 'API_KEY')
>>> instance.get_projects()

Installation

Using pip:
>>> pip install python-teamwork
Using the source code:
>>> python setup.py install

Available methods

Methods implementation in progress. This is the list of the available ones:

instance.get_projects()

Returns all the projects of the account. http://developer.teamwork.com/projectsapi#retrieve_all_proj

instance.get_project_times(project_id)

Returns the times for a specific project. Available parameters for filtering:

  • user_id: User id
  • start_date: Start date
  • end_date: End Date

instance.save_project_time_entry(project_id, entry_date, duration, user_id, description, start_time)

Create time entry for specified project.

  • project_id: Project ID
  • date: datetime.date Date of time entry
  • duration: datetime.timedelta Duration
  • user_id: Integer Id of person
  • description: String Id of person
  • start_time: datetime.timedelta

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python_teamwork-0.1.3-py2.7.egg (5.5 kB) Copy SHA256 hash SHA256 Egg 2.7
python-teamwork-0.1.3.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page