Your code no longer works due to Google upgrading the webmaster tools / search console api. It is possible to query some analytics data via the new API, i.e. search queries for your site, but it does not appear possible to download other useful data, like external links, index status etc. Do you know of any other way to achieve this?
Your code no longer works due to Google upgrading the webmaster tools / search console api. It is possible to query some analytics data via the new API, i.e. search queries for your site, but it does not appear possible to download other useful data, like external links, index status etc. Do you know of any other way to achieve this?