Title: Google Drive API (Or Google Client PHP API Library) Integration
Last modified: May 18, 2020

---

# Google Drive API (Or Google Client PHP API Library) Integration

 *  [youssefmagedf95](https://wordpress.org/support/users/youssefmagedf95/)
 * (@youssefmagedf95)
 * [6 years ago](https://wordpress.org/support/topic/google-drive-api-or-google-client-php-api-library-integration/)
 * I want to integrate Google Drive API with my site, and the Google documentation
   here is very poor considering PHP language, and it didn’t mention at all integrating
   it with WordPress, the feature I’m trying to achieve is getting a Google Drive
   folder ID by providing it’s path and my account credentials/id and I believe 
   integrating the drive API would be of so much help in that case, here’s a shortcode
   example of what I’m trying to reach
    `[gdrive path="/path/to/my/folder"]` and
   it simply outputs my google drive folder ID
    -  This topic was modified 6 years ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-drive-api-or-google-client-php-api-library-integration%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Tyler](https://wordpress.org/support/users/tylerthedude/)
 * (@tylerthedude)
 * [6 years ago](https://wordpress.org/support/topic/google-drive-api-or-google-client-php-api-library-integration/#post-12893086)
 * Hi there,
 * To achieve this, I’d first recommend turning your project into a plugin to avoid
   potentially modifying WordPress Core files. Once it’s thought of as a plugin,
   then you can begin adding your necessary files with respect to the WordPress 
   Plugin Handbook. You’ll want to have your vendor directory to hold the Google
   API client along with your other Composer files.
 * To achieve the shortcode result, you’ll want to refer to the shortcode documentation
   [here](https://codex.wordpress.org/Shortcode_API).
 * Regards,
    Tyler

Viewing 1 replies (of 1 total)

The topic ‘Google Drive API (Or Google Client PHP API Library) Integration’ is closed
to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [drive](https://wordpress.org/support/topic-tag/drive/)
 * [Google API](https://wordpress.org/support/topic-tag/google-api/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Tyler](https://wordpress.org/support/users/tylerthedude/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/google-drive-api-or-google-client-php-api-library-integration/#post-12893086)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
