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.

Source Distribution

python-teamwork-0.1.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_teamwork-0.1.3-py2.7.egg (5.5 kB view details)

Uploaded Egg

File details

Details for the file python-teamwork-0.1.3.tar.gz.

File metadata

File hashes

Hashes for python-teamwork-0.1.3.tar.gz
Algorithm Hash digest
SHA256 378a2dd1d3a6846075b8d9e7c652e1cb90e3ecb773cde55e4d6dba5e487dd8f4
MD5 149af930917bebf96e085c0f55e97514
BLAKE2b-256 0c83fa0cba2f2c180c751868ab38f884e9724a24589b974482b4115dcb1ab94b

See more details on using hashes here.

File details

Details for the file python_teamwork-0.1.3-py2.7.egg.

File metadata

File hashes

Hashes for python_teamwork-0.1.3-py2.7.egg
Algorithm Hash digest
SHA256 7db8a43262f1ae689a09b560a82743c810f67fdeae8c8853dcb723bb9cb1eb4a
MD5 b41e215739d2573d70544136e3c2f6be
BLAKE2b-256 7c3a52f3e2cdc596c0e2692a916cf1b06b59f61bdaaef1b6d06583da4faa7f9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page