dmunozv04 / iSponsorBlockTV

SponsorBlock client for all YouTube TV clients.
GNU General Public License v3.0
2.47k stars 103 forks source link

Hoy do I get API key ? #154

Open duan78 opened 6 months ago

duan78 commented 6 months ago

Hi, I can't find the way to get the api key ... Could someone help ?

SquirrelsMcGee commented 6 months ago

Hi @duan78,

Apologies I can't remember the exact set of steps but it goes something like this :)

First, You will need to use a google account and log in to https://console.cloud.google.com/

From there, you need to create a new Project (there's a guide for that here https://developers.google.com/workspace/guides/create-project) But all you need to do is go to https://console.cloud.google.com/projectcreate and type in any project name, something like "SponsorBlockTV" will do, ignore the location/organisation field

You should now be able to see this screen image

On the search box on the top type in "Youtube Data API" and select the "Youtube Data API v3" under the "Marketplace" section

image

image

On this page, click the enable "Enable" button, if you get automatically re-directed that's fine, otherwise click the "Manage" button that appears after a while and you should now be on this screen

image

Click the "Credentials" button on the left side, then click "+ Create Credentials" at the top, choose API Key in the dropdown, copy the key and paste it into you config.json