Giter Club home page Giter Club logo

print-pivotal-cards's Introduction

print-pivotal-cards

Utility to print cards from Pivotal Tracker.

Tested with Python 2.7.x

  1. You will need to install the [python requests module] (http://docs.python-requests.org/en/latest/)

  2. Then you will need to get your own API token - this should be at the bottom of your Pivotal user profile page: https://www.pivotaltracker.com/profile

  3. Run 'python PivotalCardPrinter.py [your api token] [your project ID]'

  4. Optional Parameters:

  • -o, --output [an html filename] - The file you want to output to (defaults to default_[timestamp].html)
  • -s, --since [a date in mm/dd/yyyy format] - Specifies that you only want Stories created or modified since [date]<don't link> (defaults to the beginning of time)
  1. This will create a HTML file with all stories from that project.

  2. Print in landscape

Coming up:

  • filtering (probably via argparse) [somewhat done]
  • more data on cards
  • prettier cards
  • making this simpler, faster, more robust and more useful (whoever gets to it first)

Thanks to PSD for https://github.com/psd/pivotal-cards

print-pivotal-cards's People

Contributors

bewt85 avatar

Stargazers

RocknrollMarc avatar

Watchers

 avatar  avatar

Forkers

bewt85 psd jgumbley

print-pivotal-cards's Issues

Error being thrown - not enough arguments for format string

Not had much luck with this so far unfortunately. My Python isn't good enough to be able to debug much either.

โ†’ python PivotalCardPrinter.py API_KEY_HERE 537731
Getting stories for project 537731
Sending 845 stories to the renderer
Traceback (most recent call last):
  File "PivotalCardPrinter.py", line 175, in <module>
    story_renderer.render(project.stories.values(), file_name=args.output) # renderer needs a list of stories
  File "/Users/jackfranklin/Documents/print-pivotal-cards/StoryRenderer.py", line 46, in render
    body = body % payload
TypeError: not enough arguments for format string

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.