Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

pi [pí]

Travis Build Status pixela

Description

pi ([pí]) is a CLI tool for Pixela (pixe.la)

Installation

% go get github.com/a-know/pi/cmd/pi

OR

% brew install a-know/tap/pi

And, there is explanation blog entry; "草APIサービス" Pixela のコマンドラインツールを作ったので、OSごとのインストール・使い方を書きます! (in Japanese)

Synopsis

% pi users create --username a-know --token thisissecret --agree-terms-of-service yes --not-minor yes
% export PIXELA_USER_TOKEN=thisissecret
% export PIXELA_USER_NAME=a-know
% pi graphs create -g my-first-graph -n "My first graph" -i commits -t int -c shibafu -z "Asia/Tokyo" -s none
% pi pixel post -g my-first-graph -d 20190101 -q 5 -o "{\"key\":\"value\"}"
% pi graphs svg -g my-first-graph | xargs open

Available commands

  graphs    operate Graphs
  pixel     operate Pixel in Graph
  users     operate Users
  version   display version
  webhooks  operate Webhooks

Subcommands

users

  create  create User
  delete  delete User
  update  update User Token

graphs

  create  create Graph
  delete  delete Graph
  detail  get Graph detail URL
  get     get Graph Definitions
  pixels  get Graph Pixels
  svg     get SVG Graph URL
  update  update Graph Definition
  stats   get Graph stats

pixel

  decrement  decrement a Pixel
  delete     delete a Pixel
  get        get a Pixel
  increment  increment a Pixel
  post       post a Pixel
  update     update a Pixel

webhooks

  create  create a Webhook
  delete  delete a Webhook
  get     get registered Webhooks
  invoke  invoke Webhook

Options

Please see the running result each subcommands with -h.

CI running count

CI running count

References

Pixela API Document

Author

a-know

About

Official CLI tool for Pixela

Topics

Resources

License

Sponsor this project

Languages