-
Notifications
You must be signed in to change notification settings - Fork 7
Home
The Salesforce Apex Google Drive Library offers programmatic access to Google Drive through API methods. This library simplifies coding against these APIs by providing robust methods for creating, cloning, downloading, sharing, and searching files and drives. Its implementation is accompanied by a newer version of the Google Drive API v3. You can read about the benefits here.
To utilize this library effectively, an already configured Google Drive integration is required, as it relies on an access token for proper operation. Obtaining this token is the responsibility of the developer using the library. However, the library provides a user-friendly GoogleCredential interface and GoogleAuthorizationCodeFlow authorizer to facilitate the creation of all necessary credentials.
Here's why this library:
- The entire implementation adheres to best practices, utilizing factories, builders, and isolated code units. This ensures a reliable and secure interaction with the Google Drive API, making this library a robust and efficient choice for developers.
- The code is entirely free from dependencies, allowing immediate use of the library after deploying the elements in the
force-app/main/default/google-drivefolder. Furthermore, all the code is thoroughly tested and verified, ensuring an overall test coverage of about 90%. - The library is open to contributions and is actively developing, continually adding new features. It guarantees constant monitoring for any errors and promptly addresses and resolves them.
Refer to the Google Drive Client Libraries for existing counterparts in other programming languages, as the practices and approaches used in those libraries have been applied in implementing this one.
Interested in contributing to challenging and innovative implementations? You’re in the right place. This, and all other open-source libraries we offer for public use, are fully open to extensions, new ideas, and fresh approaches. We have only one requirement: the code must be clean and maintainable. If you’re interested in contributing, please feel free to contact me at ansukhetskyi@gmail.com.