How long does a Google API key last?

I am fetching playlist data using Youtube API V3 with an API key.

I cannot find any information about the expiration date of the API KEY. I want me to update a new API key for my application before it expires.

+3


source to share


1 answer


Public API located below Google Developers Console , API and login screen -> credentials do not expire. This is the key used to access public APIs like Playlists.list and will remain valid until you delete the key or delete the project associated with the key. Its main purpose is for Google to track who is using the API there and to limit the number of requests you can make in order to prevent the servers from being sent out. ( Quota )

enter image description here



Access tokens are used to access open authentication and expire. Open Authentication (oauth2) is used to access non-public data, data owned by the user. They are created pragmatically by requesting them from an authentication server using a refresh token and client / client ID. I don't think this is what you are asking for, but I thought I would add it for reference.

+4


source







All Articles