GET
GET = 'get'
Class AbstractAPI.
$http : \EasyWeChat\Core\Http
Http instance.
$accessToken : \EasyWeChat\Core\AccessToken
The request token.
__construct(\EasyWeChat\Core\AccessToken $accessToken)
Constructor.
\EasyWeChat\Core\AccessToken | $accessToken |
getHttp() : \EasyWeChat\Core\Http
Return the http instance.
setHttp(\EasyWeChat\Core\Http $http) : $this
Set the http instance.
\EasyWeChat\Core\Http | $http |
getAccessToken() : \EasyWeChat\Core\AccessToken
Return the current accessToken.
setAccessToken(\EasyWeChat\Core\AccessToken $accessToken) : $this
Set the request token.
\EasyWeChat\Core\AccessToken | $accessToken |
parseJSON(string $method, array $args) : \EasyWeChat\Support\Collection
Parse JSON from response and check error.
string | $method | |
array | $args |
| null
summaryTrend(string $from, string $to) : \EasyWeChat\Support\Collection
Get summary trend.
string | $from | |
string | $to |
dailyVisitTrend(string $from, string $to) : \EasyWeChat\Support\Collection
Get daily visit trend.
string | $from | |
string | $to |
weeklyVisitTrend(string $from, string $to) : \EasyWeChat\Support\Collection
Get weekly visit trend.
string | $from | |
string | $to |
monthlyVisitTrend(string $from, string $to) : \EasyWeChat\Support\Collection
Get monthly visit trend.
string | $from | |
string | $to |
visitDistribution(string $from, string $to) : \EasyWeChat\Support\Collection
Get visit distribution.
string | $from | |
string | $to |
dailyRetainInfo(string $from, string $to) : \EasyWeChat\Support\Collection
Get daily retain info.
string | $from | |
string | $to |
weeklyRetainInfo(string $from, string $to) : \EasyWeChat\Support\Collection
Get weekly retain info.
string | $from | |
string | $to |
montylyRetainInfo(string $from, string $to) : \EasyWeChat\Support\Collection
Get monthly retain info.
string | $from | |
string | $to |
visitPage(string $from, string $to) : \EasyWeChat\Support\Collection
Get visit page.
string | $from | |
string | $to |
userPortrait(string $from, string $to) : \EasyWeChat\Support\Collection
Get user portrait.
string | $from | |
string | $to |
query( $api, string $from, string $to) : \EasyWeChat\Support\Collection
Unify query.
$api | ||
string | $from | |
string | $to |