Create Credentials for Google Drive API
1. Create Credentials
Suppose that you have a Gmail account: abc@gmail.com, 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
Java Open Source Libraries
- Java JSON Processing API Tutorial (JSONP)
- Using Scribe OAuth Java API with Google OAuth2
- Get Hardware information in Java application
- Restfb Java API for Facebook
- Create Credentials for Google Drive API
- Java JDOM2 Tutorial with Examples
- Java XStream Tutorial with Examples
- Jsoup Java Html Parser Tutorial with Examples
- Retrieve Geographic information based on IP Address using GeoIP2 Java API
- Read and Write Excel file in Java using Apache POI
- Explore the Facebook Graph API
- Java Sejda WebP ImageIO convert Images to WEBP
- Java JAVE Convert audio and video to mp3
- Manipulating files and folders on Google Drive using Java
Show More