Baidu Statistics Tongji API seems to have no one maintenance, documents lack of arms and legs are no one.
Point out here today, because it takes time to have no silly thinking fun.
Quote from Baidu Tongji API documentation
This document is missing a lot of things, and here, only to say that the time granularity only part of the report support, when also did not explain exactly which methods do not support this parameter,
In the following, where the document name prefix is datas, the Gran parameter is supported.
Where the prefix is datasbypage, the parameter is not supported
The document suffix has the same name as the method name supported by the API, hoping to save time for friends who meet the same situation
The following bypage are all data returned without passing the
1, source/all/a method does not pass or transfer gran back to different reports
2, visit/landingpage/a method does not pass or transfer gran back to different reports
3, source/link/a do not pass or transfer gran back to different reports
4, trend/time/a do not pass by the hour segment or transfer gran by Gran Segment
5. OVERVIEW/GETDISTRICTRPT Support Gran
6. OVERVIEW/GETCOMMONTRACKRPT Support Gran
The returned data is divided into Word, visitpage, SourceSite, Landingpage, Visittype
7. SOURCE/SEARCHWORD/A does not support gran parameters
8. SOURCE/ENGINE/A does not support gran parameters
9, VISIT/WORLD/A does not pass Gran
10. The visit/toppage/a method does not support the Gran parameter
11. VISIT/TOPDOMAIN/A does not support gran parameters
12. VISIT/DISTRICT/A does not support gran parameters
There are some reports I do not use morals, will be asked to update the document Baidu
About the Baidu Tongji API documentation supplement