A sample commandline tool to export data via the Hubstaff Public API
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
hubstaff-export.rb

README.md

Hubstaff Export Tool

This is an export tool for hubstaff screenshots. It also gives a hint of how you can write a ruby class to make requests to the hubstaff public API.

Synopsis

  • This is a simple hubstaff.com export tool for the screenshots.
  • It uses the Hubstaff API.

Examples

Commands to call

ruby hubstaff-export.rb authenticate abc345 bob@example.com MyAwesomePass
ruby hubstaff-export.rb export-screens 2015-07-01T00:00:00Z 2015-07-01T07:00:00Z -o 84 -i both

Usage

ruby hubstaff-export.rb [action] [options]

For help use: ruby hubstaff-export.rb -h

Options

-h, --help          Displays help message
-v, --version       Display the version, then exit
-V, --verbose       Verbose output
-j, --projects      Comma separated list of project IDs
-u, --users         Comma separated list of user IDs
-i, --image         What image to export (full || thumb || both)
-o, --organizations Comma separated list of organization IDs
-d, --directory     A path to the output directory (otherwise ./screens is assumed)

Author

Chocksy - @Hubstaff