Google Webmaster Tool APIs: Downloading requests via OAUTH2

I am trying to use the Google Webmaster API to download a CSV file of recent searches.

I know how to do this using the Python example at http://googlewebmastercentral.blogspot.com/2011/12/download-search-queries-data-using.html

But I want to use OAUTH2.

Here's the problem: Download URL for CSV Download:

/ webmasters / tools / download-list hectoliters =% s &? SiteURL =% s

But the Google Data API only allows me to use OAUTH2 for: / Webmasters / tools / channels / sites /

So, the token that I receive when I authenticate does not provide access.

NOW DEATH, that they will have some data accessible through OAUTH2, and some of them will use only username / password.

Does anyone know of a request URI that I can use to download a request report through OAUTH2? Or is it an API like nuts, as it seems?

+4
source share
2 answers

My $ .02 will be "yes, it's like nuts, it seems."

If you look at the Google API Console ( https://code.google.com/apis/console ), the Webmaster Tools API is noticeably missing.

I tried to go down the same road and use OATH2 for the GWT API and could not get it to work. Using "basic authentication" was the only solution.

edit April 2015: basic authentication was removed by Google and no longer works

+4
source

I just came across this, I'm sure it should be possible with OAuth2 matching this suggestion:

Enable the Google Site Validation API in the Services panel of the Google API Console. (If it is not listed in the Console, skip this step.)

https://developers.google.com/site-verification/v1/getting_started

0
source

All Articles