Skip to content

gobbler/gobbler

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

Gobbler

Access to Gobbler API via Ruby

Installation

Add this line to your application's Gemfile:

gem 'gobbler'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gobbler

Documentation

Documentation is available at rdoc.info

Exmaple Usage

require 'gobbler'

## Set up authentication and sign in
Gobbler.config(email: "...", password: "...")

## Get the high-level metrics for your account
puts Gobbler::Dashboard.list

## Get a list of all project names
puts Gobbler.projects.collect(&:name)

## Get a list of all files in a project
project = Gobbler.projects.first
checkpoint = project.last_checkpoint

checkpoint.assets.each do |asset|
  puts asset["relative_path"]
end

## Get a list of all machines that you have signed into gobbler with
puts Gobbler.machines

## Get a list of the cities that each of your drives was last seen in
Gobbler.volumes.each do |volume|
  puts "#{volume.volume_name} : #{volume.city}"
end

Releases

No releases published

Packages

No packages published

Languages