Setup Google API & Services (API Library, OAuth Consent Screen, Credentials)

preview_player
Показать описание
Time Stamps:
0:36 - What is Google Project
1:05 - How to Create Google Project
3:55 - What is Google API Library
4:04 - How to enable Google API Library
5:34 - What is OAuth Consent Screen
6:39 - About google oauth consent screen,
Scopes for Google APIs, OAuth grant limits, OAuth verification, Verification status not published, Oauth consent screen user type, Scopes for Google APIs, Authorized domains, OAuth grant limits, Token grant rate
14:12 - What is Google API Credentials
14:35 - API Key
15:36 - OAuth 2.0 Client IDs
17:26 - Service Accounts
19:20 - Create & enable Credentials from Developer Console

-------------------------------------------------------------------------------------------------------

Google Drive API: Uploading, Viewing, Downloading & Deleting Files

Google Drive API : Create folder, Upload file to folder, Show folder Content.

Google Drive API : Move & Copy Files Between Folders.

Google Drive API v3 - Manage Share & Set User Role Permissions

Google Drive Picker API - Viewing, Uploading, Downloading, Sharing Files | JavaScript

1.What is Google API Project
In the API Console, a project is a collection of settings, credentials, and metadata about the application or applications you're working on that make use of Google APIs and Google Cloud Platform resources. The console is where you manage certain project tasks, such as generating API credentials, enabling APIs, and managing team and billing information associated with your project.

2.How to Enable APIs from API library
Google has a huge collection of APIs, for example Google+, Google Sheet, YouTube, Google Analytics, Gmail and Google Drive etc.

3.What is OAuth consent screen
Basically this option is allow us the scope of applications, verification Status, What type of User access this application, OAuth rate limit & token grant rate.
About the consent screen: The consent screen tells your users who is requesting access to their data and what kind of data you're asking to access.
OAuth Developer Verification: To protect you and your users, your consent screen may need to be verified by Google. Without verification, your users will see an additional page indicating that your app is not verified by Google. Learn more
Verification is required if: Your application type is public, and You add a sensitive scope Verification may take several days to complete. You will receive email updates as it's processed.
Unpublishing: Even though your consent screen is unpublished, you can still test your application with users with the following limitations:

4.Authentication to Google API (Enable Credentials)
a) API Keys
b) OAuth 2.0 Client IDs
c) Service Accounts

a) API Key
It is a least secure option to authenticate Google API, which means that it isn’t enough for certain applications. For example you wants to authenticate Google Drive API, In this case only API Key is not enough, we need to use OAuth 2.0 Client IDs with this API key.

b) OAuth 2.0 Client IDs
If you need users to provide permission to your app, you can use the OAuth 2.0 standard. This will ask users to authorize your app before you’ll be able to make changes using any APIs. This is a necessity for front-end applications and certain APIs (such as the Gmail API, Google Drive API, Google Map API).

c) Service Accounts
The final option is a service account: a special type of Google account used to represent a non-human user. This is the best solution for us to control Google Drive, Gmail using a server-side app.

Thank you for watching this video
Рекомендации по теме
Комментарии
Автор

Can you please guide how to create OAuth is for the app which is released in play store? And how to submit app for verification in OAuth consent screen?

drintech
Автор

Do u have anything on how to use Google api with c++ linux os

ayushjain
Автор

iam using the method oauth2 clientid method, i get the error : rpc error: code = Unauthenticated desc = transport: oauth2: token expired and refresh token is not set

barathv
Автор

Hi, I was about to launch a song contest and as each contestant uploads their video to my site, I use an API to switch video to my YouTube channel so it does not go to my hosting... on initialy testing 5 videos it worked, now I get a message “exceeded quota” even after deleting all videos, I get this message in uploading one video... I wrote to the google YouTube API Team who asked if I would send them a screen video of how I do this and after receiving the screen take that thanked me promising to revere and get back... of course I requested the maximum amount of quota needed fir the functionality of the contest. That was one week ago!! Do you think they have a valid issue to refuse me this quota? Have yiu any ideas to help me as it has cost me so much over a period of 8 months and now just as I finally got to this stage!! 🙈🙈

gobrad
Автор

can you use API key without creating Oauth ?

uxninja_imsnk
Автор

Sir
My card is not accepting in billing process as I have added my card to google pay. Kindly help me I need API key for my website.

rujhaanskillcomputer
Автор

Under
OAuth consent screen I am able to see only only 3 scopes 1. Email, 2 Profile, 3. openid and I am using personal gmail account only. How to see all those scopes in my project?
1. If we are using Contact service do we need to use OAuth and Client API key ?

krishnanp