Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python library to help getting data from TargetProcess API

Project Description

TargetProcess Client

Python library to help getting data from TargetProcess API

Getting the code

The code is hosted at https://github.com/magicjohnson/targetprocess-client

Check out the latest development version with:

$ git clone git://github.com/magicjohnson/targetprocess-client.git

Installing

You can install targetprocess-client using:

$ pip install targetprocess-client

or get the code and run install:

$ cd targetprocess-client
$ python setup.py install

Usage examples

Create client instance:

from targetprocess.api import TargetProcessAPIClient
from targetprocess.serializers import TargetProcessSerializer
tp = TargetProcessAPIClient(api_url='https://md5.tpondemand.com/api/v1/', user='user', password='pass')

Get collection of UserStories:

stories_json = tp.get_stories(take=5, include="[Id,Name,CreateDate]")
stories = TargetProcessSerializer.deserialize(stories_json)

Get UserStory item

story_json = tp.get_story(360, include="[Id,Name,CreateDate]")
story = TargetProcessSerializer.deserialize(story_json)

Update item

data = {'Name': 'New name'}
tp.update_story(360, data)

Request “unregistered” collection (that client doesn’t have predefined methods for)

tp.get_collection(collection="Epics", take=2)
tp.get_resource(collection="Epics", entity_id=427)
tp.update_resource(collection="Epics", entity_id=427, data={'Name': 'New Epic name'})
Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
targetprocess_client-0.1.2-py2-none-any.whl (7.7 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Apr 9, 2016
targetprocess_client-0.1.2-py3-none-any.whl (7.6 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Apr 7, 2016
targetprocess-client-0.1.2.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256 Source Apr 7, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting