Skip to main content

Overview

This module provides a simple Pythonic interface to the PivotalTracker API. It also provides both a simple commandline interface to Pivotal.

Quickstart

This is the primary API for using Pivotal. First you simply create a client:

import pivotaltracker
client = pivotaltracker.Client(token="YOUR API TOKEN")

Now you can execute any of the API methods on that client. All method calls will return Python dictionaries. You can find detailed documentation in the docstrings for now, until I get the API docs created. Here’s a quick rundown in the meantime:

  • get_project (project_id)

  • get_all_projects (self)

  • get_story (project_id, story_id)

  • get_stories (project_id, query=None, limit=None, offset=None)

  • get_iterations (project_id, limit=None, offset=None)

  • get_done_iterations (project_id, limit=None, offset=None)

  • get_current_iterations (project_id, limit=None, offset=None)

  • get_backlog_iterations (project_id, limit=None, offset=None)

  • add_story (project_id, name, description, story_type, requested_by=None, estimate=None, current_state=None, labels=None)

  • update_story (project_id, story_id, name=None, description=None, requested_by=None, story_type=None, estimate=None, current_state=None, labels=None)

  • delete_story (project_id, story_id)

  • add_comment (project_id, story_id, text, author=None)

  • deliver_all_finished_stories (project_id)

Advanced

Commandline Tool

Simply run pt help on the commandline to see options. The first time you run the tool, it will walk you through creating your API key and setting up your configuration.

More documentation to come, later.

Metadata

Release files for pivotaltracker 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pivotaltracker 0.0.1
File Size Uploaded
pivotaltracker-0.0.1.tar.gz 7.2 kB Details

Release files / pivotaltracker-0.0.1.tar.gz

Download URL pivotaltracker-0.0.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
344a5d0c6e32b532e2eee7ed999340717412864aab959d77b73232631a4eb4d8
BLAKE2b-256 checksum
How to use checksums
86d5b33fe754585dca0b9cb18a063f7b5508e1f2d6922b668a4bf6c4cadaf77f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.0.3

1 release file

0.0.2

1 release file

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page