filefog-google

0.0.8 • Public • Published

FileFog Provider

wercker statusDependency Status

A Filefog adapter for Google Drive. May be used in a Sails app or anything using Waterline for the ORM.

Install

Install is through NPM.

$ npm install filefog-google --save

Configuration

The following config options are required:

config: {
    client_key : '',
    client_secret : '',
    client_scope : "https://www.googleapis.com/auth/drive",
    redirect_url : 'http://localhost:3000/service/callback/google'
};

Testing

Test are written with mocha. Integration tests are handled by the filefog-provider-tests project, which tests provider methods against the latest FileFog API.

To run tests:

$ npm test

About FileFog

FileFog is a cloud agnostic file API. It provides a uniform API for accessing stuff from different kinds of cloud providers and file systems. That means you write the same code to manipulate files, whether they live in google drive, dropbox, box.net, or your local file system.

To learn more visit the project on GitHub at FileFog.

Package Sidebar

Install

npm i filefog-google

Weekly Downloads

1

Version

0.0.8

License

MIT

Last publish

Collaborators

  • analogj