pivotaltracker is a Pythonic wrapper around the PivotalTracker API
Project description
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 need an API token from Pivotal. You can generate one in your profile settings: <https://www.pivotaltracker.com/profile>.
Next, 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 ()
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)
Source Code
You can contribute to the source code on GitHub: <http://github.com/mjpizz/pivotaltracker>
Release Notes
0.0.3 added feature submission to the tool
0.0.2 added bug submission to the tool
0.0.1 original Client API object, very basic commandline tool (only submits chores)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pivotaltracker-0.0.3.tar.gz
.
File metadata
- Download URL: pivotaltracker-0.0.3.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12a86a2da2845ad216d0c0306a5e1186fe81340fabd637589f328b5be98d3079 |
|
MD5 | aa44869d4bad7c7c363a06b004f365f9 |
|
BLAKE2b-256 | 7ad6644833e07edfe6e29ca44c31760c6e20fea9939990014165366c4c8fcb7f |