Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

clippercard

Tools and packages relating to Clipper card.

Apps/Tools

clippercardcsv (cli)

Convert a Clipper card transaction history PDF to CSV.

Install

Linux, macOS, Windows

Download and install the binary from the releases page.

macOS
brew install 4d63/clippercard/clippercardcsv
Source
go get 4d63.com/clippercard/transactionhistory/apps/cmd/clippercardcsv

Usage

Usage of clippercardcsv:

Examples:
  clippercardcsv ridehistory.pdf
  clippercardcsv ridehistory.pdf > ridehistory.csv
  cat ridehistory.pdf | clippercardcsv > ridehistory.csv

Flags:
  -filter-weekdays string
        Weekdays to filter by, only transactions occurring on these weekdays will be included in the CSV (default "monday,tuesday,wednesday,thursday,friday,saturday,sunday")
  -headings
        Include headings on columns (default true)
  -help
        Print this help
  -version
        Print version

Packages

transactionhistory

import "4d63.com/clippercard/transactionhistory/pdf"
transactionHistory, err := pdf.Parse(file)
if err != nil {
	// error parsing
}

for _, t := range transactionHistory.Transactions {
	// do things with transactions
}

About

Tools and packages relating to ClipperCard.

Resources

License

Packages

No packages published