Skip to content
forked from davecheney/pc

CLI tool to strip-mine the papercall.io api

Notifications You must be signed in to change notification settings

ashleymcnamara/pc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pc

A CLI for papercall.io conferences.

Installation

pc is writen in Go. You will need Go 1.8beta1 or later. You will need a properly configured $GOPATH workspace.

go get -u github.com/davecheney/pc

Papercall API access required

pc requires API access to download data. API access is a paid feature, pc will not work with the free papercall plan.

To obtain your API token, go to the papercall website, click the events tab, choose your event, then choose the Organisers link on the right hand side. On the list of organisers for your event your API token will be listed under your name.

Once you have your API key export it in your shell

export PAPERCALL_API_TOKEN=ae91a85a4d25c005a91172d7b51ba9bfcfa3c95a

You can also use the -k or --apikey flags, but this is not recommended.

Usage

pc operates on a cache of your event's data. To populate this cache run

pc refresh

This will download all the submissions, and their ratings and cache them locally.

TODO(dfc) this is currently hard coded for event 274 as papercall does not provide a way to determine the event id for a given API key. If you need to use a different event id, use the -e flag.

Once you have downloaded the data for your event, you can display it with

pc show

Example usage

Show all tutorials sorted by trust, in reverse order (lowest to highest)

pc show -f tut -s trust -r

Show all the talks with the tag testing

pc show -t testing

Show reviwers by completion count

pc reviewers -s count

Show proposals that have been updated since the newest review

pc todo

Show proposals that have been updated since the oldest review

pc todo -a

About

CLI tool to strip-mine the papercall.io api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Go 100.0%