
After enabling both API your dashboard will look like: API Dashboard Setup consent screen: Setup Consent. On the newly opened screen click on Create Credentials and choose OAuth client ID. Select and enable Google Drive API in that same way. In order to do this we have to make sure that in Google Console API previously created application is chosen, and then from the menu on the left select the Credentials section. The Google Drive modules enable you to monitor, search, create, update, delete. We start by creating OAuth client ID for our application. In this scenario our application calls Google APIs on behalf of end-user. If the user grants permission, the Google Authorization Server sends an access token to our application (or an authorization code that can be used to obtain an access token) and the list of scopes of access granted by that token. After logging in, the user is asked to grant permissions that our application is requesting. User consent is the process that includes authentication step where the user logs in with their Google account. many desktop applications installed locally on end user devices. The client-server scenario is useful when we have many instances of our application, e.g. Client-server interaction - authenticate using user consent process Enter project name and create the project.2. Once logged in, you should see API Console Dashboard, on the Menu bar, select "Select a Project" and click New Project on the dialog. In order to get this token, we need to sign in to the Google API console, generate a token which represents the same account and use it in Postman. Therefore, Postman requires a secure Authentication token to access the Google API. Google Cloud documentation Find guides, code samples, architectural diagrams, best practices, tutorials, API references, and more to learn how to build on Google Cloud.

Since Google APIs use OAuth2 for Authentication, we cannot simply use Email and Password to access the API using Postman. Why do we need to Sign in to Google services? Use the Authorization code as Authentication Token in Postman to access Google Driveįirst, we need to log in to Google API Console using a valid Gmail Account.The example will be done in Python for brevity and availability, but you can also choose to.


If you are getting an Access Not Configured error while uploading. Google has exposed a very sophisticated amount of APIs for its cloud services like Drive, Maps, Calendar, etc. Go to API Manager > Library in the section Google Apps APIs and enable Drive API. So as a small assignment, I tasked myself to find out whether it is possible to access and possibly manage my Google drive using REST API calls.
