Table Of Content

Create Credentials for Google Drive API

View more categories:

1- Create Credentials

Suppose that you have a  Gmail account:  [email protected], then the  Google will provide you with 15GB of hard drive space free of charge on Google Drive. You can store your files on it. For your application to be able to manipulate with the files on Google Drive, it needs a credentials. The credentials is simply a file which will be placed on the computer where your application is being deployed like the following illustration:
You need to create a project on  Google API Console, and a  Credentials and download this  Credentials file to your computer.
First of all, log in your  Gmail account and then access the following link:
Press  "Continue" to start to create a project.
On the  "Create Credential" site, press  "Cancel" to skip.
On the  "OAuth consent screen" tab, enter your email and  Product name where you should enter your company name)
Chọn kiểu ứng dụng là Other, và nhấn nút Create.
Press "Download" to download  the  Credentials file which is in JSON format.
After downloading, you obtain a file with very long name, change its name into  client_secret.json

2- Google Drive API

View more categories: