Browse Source

Update README.md

Arnau Sanchez 9 years ago
parent
commit
76ff865c39
1 changed files with 12 additions and 3 deletions
  1. 12 3
      README.md

+ 12 - 3
README.md

@@ -86,10 +86,19 @@ $ export https_proxy=http://user:password@host:port
 $ youtube-upload ....
 ```
 
-Caveats
-=======
+Authentication
+==============
+
+The package includes a default ```client_secrets.json``` file. If you plan to make a heavy use of the script, please [create and use your own OAuth 2.0 file](https://developers.google.com/youtube/registering_an_application), it's a free service. Steps:
 
-* The package includes a default ```client_secrets.json``` file. If you plan to make a heavy use of the script, please [create and use your own OAuth 2.0 file](https://developers.google.com/youtube/registering_an_application), it's a free service.
+* Go to the Google [https://console.developers.google.com/](console).
+* _Create project_.
+* Side menu: _APIs & auth_ -> _APIs_
+* Top menu: _Enabled API(s)_: Enable all Youtube APIs.
+* Side menu: _APIs & auth_ -> _Credentials_.
+* _Create new Client ID_: Application type: _Installed application_ + _Other_
+* _Download JSON_: save the file to your local system. 
+* Use the saved JSON as your credentials file: ```--credentials-file=CREDENTIALS_FILE```
 
 Notes for developers
 ====================