01-01 - Create Api Key

screen shot of Simple React Snippets Extension Vs code

02

Create and name a new project called youtube-api, when is complete, click on it to open it

03

Enable the youtube api library by going to library and searching for youtube api ...version

04

Click CREATE CREDENTIALS

05

Choose which library you want to use, in our case 'youtube', then click Public data because Oauth is needed for User data

06

This gives us the api key

07

Anytime you need the api key, go to the project then the Credentials tab on lhe left, then the api key

08

Pase the api into a variable in your script