Update YouTube instructions (#792)

This commit is contained in:
Calvin Montgomery 2019-02-02 15:59:02 -08:00
parent a81e4d1d16
commit 66d81ffb22
1 changed files with 8 additions and 9 deletions

View File

@ -109,15 +109,14 @@ io:
ip-connection-limit: 10 ip-connection-limit: 10
# YouTube v3 API key # YouTube v3 API key
# See https://developers.google.com/youtube/registering_an_application # 1. Go to https://console.developers.google.com/, create a new "project" (or choose an existing one)
# YouTube links will not work without this! # 2. Make sure the YouTube Data v3 API is "enabled" for your project: https://console.developers.google.com/apis/library/youtube.googleapis.com
# Instructions: # 3. Go to "Credentials" on the sidebar of https://console.developers.google.com/, click "Create credentials" and choose type "API key"
# 1. Go to https://console.developers.google.com/project # 4. Optionally restrict the key for security, or just copy the key.
# 2. Create a new API project # 5. Test your key (may take a few minutes to become active):
# 3. On the left sidebar, click "Credentials" under "APIs & auth" #
# 4. Click "Create new Key" under "Public API access" # $ export YOUTUBE_API_KEY="your key here"
# 5. Click "Server key" # $ curl "https://www.googleapis.com/youtube/v3/search?key=$YOUTUBE_API_KEY&part=id&maxResults=1&q=test+video&type=video"
# 6. Under "APIs & auth" click "YouTube Data API" and then click "Enable API"
youtube-v3-key: '' youtube-v3-key: ''
# Limit for the number of channels a user can register # Limit for the number of channels a user can register
max-channels-per-user: 5 max-channels-per-user: 5