Enable Google Driver API

Enabling the API is the first step in creating a simple file upload application. Log in to Google and visit

Google Drive - Enable API Key
Google Drive – Enable API Key

Creating a Project in Google Driver API

After clicking on Enable the Driver button you’ll see a modal that asks you to give the project a name.

Google Drive - Give Name to Project
Give Name to Project

Then the next step is to select the mode through which you will be using this API. Here you select Web Browser as an option.

Google Drive - Select the Mode
Select the Mode

Configure OAuth Client

After the selection of mode, you will be prompted with the Origin URL. You will access the drive information through this URL. So, our current URL will be http://localhost.

Configure your Oauth Client
Configure your Oauth Client

#web development #php #web development

PHP Google Drive API | List, Create Folders, Sub Folders and Upload Files
11.60 GEEK