Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 3.41 KB

getYoutubeAPI.md

File metadata and controls

52 lines (28 loc) · 3.41 KB

<- back to home --

Obtaining YouTube Data API v3 API Key

This guide will walk you through the process of obtaining an API key to access the YouTube Data API v3. The API key is required to authenticate and authorize your requests to the YouTube Data API.

Prerequisites

To obtain the YouTube Data API v3 API key, you will need:

  1. A Google Account: You will need a Google Account to create a project and enable the YouTube Data API v3.

Steps to Obtain API Key

Follow these steps to obtain the YouTube Data API v3 API key:

  1. Go to the Google Cloud Console.
  2. Sign in using your Google Account.
  3. If you haven't created a project yet, click on the "Select a project" dropdown at the top and click on "New Project". Enter a name for your project and click "Create".
image
  1. Once your project is created, ensure it is selected in the project dropdown at the top.
image
  1. In the left navigation menu, click on "APIs & Services" and then select "Library".
image
  1. In the search bar, type "YouTube Data API v3" and click on the result when it appears.
image
  1. On the API details page, click on the "Enable" button.
  2. After enabling the API, go back to the left navigation menu and click on "Credentials".
image
  1. On the Credentials page, click on the "Create Credentials" button and select "API key" from the dropdown menu.
image
  1. Your API key will be created. You can click on the copy icon to copy the key to your clipboard.
  2. Make sure to restrict the usage of the API key for security purposes. You can do this by clicking on the "Restrict key" button under the API key. You can set restrictions such as IP addresses, websites, or specific APIs.
  3. Once you have copied the API key, you can use it in the extension to authenticate and authorize your requests to the YouTube Data API v3.

Note: Keep your API key secure and do not share it publicly or expose it in client-side code. Treat it like a password, as it provides access to your project and may incur costs for unauthorized usage. The API Key is stored on your local machine for your convenience (so you don't have to paste it every time). totalYouTubeTime does not share or use your API Key without your consent for other purposes. Dont believe me? See for yourself

<- back to home --