Is there any possible to get Google Webmaster Tool (GWT) datas using PHP?

前端 未结 2 1439
梦谈多话
梦谈多话 2021-01-06 04:05

I\'m trying to get some datas from Google Webmaster Tool (GWT), I have searched some of the API Documents and Implements, But they are returning few of the

2条回答
  •  既然无缘
    2021-01-06 04:57

    [..] I have searched some of the API Documents and Implements, [..]
    [..] I have used two files in PHP for this GWT API, [..]

    I am the author of the code that you quote (GWTdata PHP class) and first off want to make clear that this code is neither released by Google nor makes use of an official API, but is rather a custom script processing data from the web interface.

    [..] returning few of the datas only from the GWT. [..]

    A couple of weeks ago, there were some changes to the Google Webmaster Tools web interface (which, again, was/is used to process data requests). Thus, it broke some functionality of the PHP class GWTdata - such as downloading the crawl errors.

    [..] Can anyone help me in this, to achieve all those datas and make it as excel file to generate using PHP. [..]

    Unfortunately, for the most data there is nothing I/we can do about it (since the data is just not accessable any longer).

    [..] Still I'm not getting the major parts / datas like,
    1. Crawl errors [..]

    Anyway, you can use this followup project to get the crawl errors.

    GwtCrawlErrors (Download website crawl errors from Google Webmaster Tools as CSV):
    https://github.com/eyecatchup/GWT_CrawlErrors-php

提交回复
热议问题