Add instructions for getting youtube API key to readme.
This commit is contained in:
		
							parent
							
								
									9c629d53b1
								
							
						
					
					
						commit
						b467304ea8
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -37,6 +37,14 @@ YCDL does not perform the downloading of videos itself. When you click on the do | ||||||
| 
 | 
 | ||||||
| You are responsible for your own `bot.py` file, with a function `get_youtube_key`, called with no arguments, that returns a Youtube API key. | You are responsible for your own `bot.py` file, with a function `get_youtube_key`, called with no arguments, that returns a Youtube API key. | ||||||
| 
 | 
 | ||||||
|  | 1. Go to https://console.developers.google.com/. | ||||||
|  | 2. Create a project using the menu in the upper left. | ||||||
|  | 3. From the project's dashboard, click "Enable APIs and Services". | ||||||
|  | 4. Search for and choose the latest YouTube Data API. | ||||||
|  | 5. On the left bar, click "Credentials". | ||||||
|  | 6. Click "Create credentials" and choose "API key". In my experience they all start with "AIzaSy". | ||||||
|  | 7. Return this value from `get_youtube_key` however you deem fit. | ||||||
|  | 
 | ||||||
| ## Screenshots | ## Screenshots | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue