Brady vs. Grey
API Key Hiding (
To make sure that my own YouTube Data API key was not published,
I separated it into a text file (
api_key.txt) and used
.gitignore to ensure that it wasn't published.
If you wish to do this yourself, you must
- Get your own API key from Google.
- Put this key in a file entitled
- Put this file in the same directory as
You can view the running version here.