Project

gdsh

0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A Google Drive shell in Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
>= 0

Runtime

 Project Readme

gdsh Code Climate

A Google Drive shell in Ruby.

Installation

Add this line to your application's Gemfile:

gem 'gdsh'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gdsh

Usage

(adapted from https://developers.google.com/drive/web/quickstart/quickstart-ruby)

  1. Set up a project in Google.
  2. Select the created project and select APIs & auth and make sure the status is ON for the Drive API.
  3. In the sidebar on the left, select Credentials and set up new credentials for this project.
  4. Download (as JSON) or save the client id and client secret.
  5. bundle exec ruby gdsh.rb <credentials_json> or bundle exec ruby gdsh.rb. In the former, credentials will be automatically retrieved from JSON; in the latter, you will need to copy and paste the client_id and client_secret from the credentials above.