I had the idea a long time ago to make a PredictionBook commandline tool, but I never got past designing the interface and outlining what the basic functionality should be. So I’m dropping it here in case anyone might find it interesting.
Returns: select all hits, spit out the pages, newline delimited:
1. Title
2. due date
3. creator: probability
4-n. author: probability: comment
n+1. double-newline
pb-new -u user password -p/--prediction prediction -d/--date date -%/--probability n [-c/--comment comment] [-h/--public/--private: default private]
returns: ‘ID URL’
pb-update -u user password -n/--numeric-id n [-c/--comment comment] [-%/--probability n]
returns: prediction n's page as rendered in the first search example
I had the idea a long time ago to make a PredictionBook commandline tool, but I never got past designing the interface and outlining what the basic functionality should be. So I’m dropping it here in case anyone might find it interesting.
Interface to google.com: “argument site:predictionbook.com -site:predictionbook.com/users/″
Returns: select all hits, spit out the pages, newline delimited:
returns: ‘ID URL’
Comment and prediction fields must:
enforce length limits on prediction and comments
enforce 0-100 on probabilities (warn on 0 or 100)