diff options
| author | dee-oh-double-gee <beaugraham+github@gmail.com> | 2017-02-24 22:04:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-24 22:04:40 -0700 |
| commit | 6bb03f05770f1e58d5c79f4f08e6d8e0b70d9a1e (patch) | |
| tree | 87458f2bc3380aa2e156404f7f0d687e3ecbf671 | |
| parent | bc30a1166d4271df3a4e6e09d075b3ac1f48c5af (diff) | |
Update README.md
| -rw-r--r-- | README.md | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -1 +1,20 @@ -# YouTubeSubCount.py
\ No newline at end of file +# YouTubeSubCount.py + +I have only tested this on the latest version of Rasbian. + +**Instructions** +Download the script. Edit the CHANNEL_ID, YOUTUBE_DATA_API_V3, and YOUR CHANNEL portions. Then run with root. + +Like this for example: +``` +wget https://raw.githubusercontent.com/dee-oh-double-gee/YouTubeSubCount.py/master/YouTubeSubCount.py + +sudo nano YouTubeSubCount.py +``` +Edit the CHANNEL_ID, YOUTUBE_DATA_API_V3, and YOUR CHANNEL parts of the script to your channel ID (cannot be the channel name, must be the full ID), then paste in your youtube data API key, and then you can edit the print line to say whatever you want. CTRL+x to close and save. +``` +sudo python YouTubeSubCount.py +``` +The script will update every 5 seconds. My channel is small so I only have it update every minute but by default it refreshes every 5 seconds. + +This is my first python script so please help me out and make changes that could improve the script. |
