GithubHelp home page GithubHelp logo

lecaros / google-drive-api-wrapper Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 42 KB

License: Apache License 2.0

Kotlin 100.00%
google-api-services-drive google-api-client google-drive-api java kotlin-library java-library kotlin

google-drive-api-wrapper's Introduction

Google Drive Api Wrapper

This is a wrapper around the Google Drive (google-api-services-drive v3).

Disclaimer :)

This project was started and is modified according to the needs I'm experiencing, in the hope that someone else will find it helpful.
For any request please open an issue.

How to use

Extend class AbstractDriveServiceWrapper and implement required methods. For example:

override fun getDriveService(): Drive {
    return Drive.Builder(httpTransport, jsonFactory, loadCredential())
            .setApplicationName(applicationProperties.name).build()
}

Current features

  • Allows to recursively copy all elements from a folder to another by their ids.
  • Allows creation of a folder with a name and parent folder id.
  • Gets a list of files inside a folder. Only first level children.
  • Find a folder by name inside a parent folder.
  • Copy full folder structure without files.
  • Get a list of files inside a folder by its MimeType.
  • Get file's name by its URL.
  • Get file given its url.
  • Export/download a file.

To-Do

  • Read responses to control execution.

Versions

0.3.0

  • Export/download a file.
  • Get file given its url.

0.2.0

  • Allows to copy a full folder structure.
  • Add method to get files in a folder given its MimeType.
  • Get file's name by its URL.

0.1.0

  • Allows to recursively copy all elements from a folder to another by their ids.
  • Allows creation of a folder with a name and parent folder id.
  • Gets a list of files inside a folder. Only first level children.
  • Find a folder by name inside a parent folder.

google-drive-api-wrapper's People

Contributors

lecaros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.