mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-28 22:41:08 -05:00
YouTube/SpiffyTitles: update API instructions
This commit is contained in:
parent
96c37944c0
commit
2fe7d26b9f
@ -83,16 +83,8 @@ Example output:
|
|||||||
Note: as of April 20 2015 version 2 of the Youtube API was deprecated. As a result, this feature now
|
Note: as of April 20 2015 version 2 of the Youtube API was deprecated. As a result, this feature now
|
||||||
requires a [developer key](https://code.google.com/apis/youtube/dashboard/gwt/index.html#settings).
|
requires a [developer key](https://code.google.com/apis/youtube/dashboard/gwt/index.html#settings).
|
||||||
|
|
||||||
- Obtain a [developer key](https://code.google.com/apis/youtube/dashboard/gwt/index.html#settings)
|
- Obtain an [API key](https://console.cloud.google.com/apis/credentials)
|
||||||
- Click the link on the left to go to the `Credentials` area under `APIs and auth`
|
- Make sure the [YouTube Data API](https://console.developers.google.com/apis/library/youtube.googleapis.com) is enabled.
|
||||||
- Click `Create new Key` under `Public API access`
|
|
||||||
- Choose `Server key`
|
|
||||||
- Click `Create` as shown in the screenshot below
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
- You may specify allowed IPs but be aware that this setting seems to cache. It is easier to test using the URL listed in the console to verify requests from that machine are working.
|
|
||||||
- Make sure the YouTube API is enabled in [the developer console](https://developers.google.com/console/help/#activatingapis).
|
|
||||||
- Set the key: `!config supybot.plugins.SpiffyTitles.youtube.developerKey your_developer_key_here`
|
- Set the key: `!config supybot.plugins.SpiffyTitles.youtube.developerKey your_developer_key_here`
|
||||||
- Observe the logs to check for errors
|
- Observe the logs to check for errors
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
Search for YouTube videos and return link + info.
|
Search for YouTube videos and return link + info.
|
||||||
|
|
||||||
`config plugins.youtube.developerkey <your_key_here>`
|
Enable the [YouTube Data API](https://console.developers.google.com/apis/library/youtube.googleapis.com). Set your [API Key](https://console.cloud.google.com/apis/credentials) using the command below.
|
||||||
|
|
||||||
|
`config plugins.youtube.developerkey your_key_here`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user