Add google_webmaster collector.#1959
Conversation
| func analyticsClient(clientid string, secret string, tokenstr string) (*http.Client, error) { | ||
| // googleAPIClient() takes in a clientid, secret, a base64'd gob representing | ||
| // the cached oauth token, and a list of oauth scopes. Generating the token is | ||
| // left as an exercise to the reader. |
There was a problem hiding this comment.
Because generating the token requires you to fire up an web endpoint, have the user open a URL, and then wait around for the user to authorize. Back when the GA collector was written, we decided that scollector should not be involved in doing that.
|
sorry to be more clear, I meant why not document the process? On Wed, Nov 16, 2016 at 12:36 PM, Jason Harvey notifications@github.com
|
|
@kylebrandt because I don't remember how to do it. I'm just reusing the token I generated last time. Could look into how that is done and document how to do it, but that's out of scope for this project. |
|
Fair enough - code looks good to me On Wed, Nov 16, 2016 at 12:38 PM, Jason Harvey notifications@github.com
|
No description provided.