NAME

WebService::Mattermost::V4::API::Resource::Analytics

DESCRIPTION

USAGE

use WebService::Mattermost;

my $mm = WebService::Mattermost->new({
    authenticate => 1,
    username     => 'me@somewhere.com',
    password     => 'hunter2',
    base_url     => 'https://my.mattermost.server.com/api/v4/',
});

my $resource = $mm->api->analytics;

METHODS

get()

Get analytics

my $response = $resource->get({
    # Optional parameters:
    name    => 'standard', # 'post_counts_day', 'user_counts_with_posts_day', 'extra_counts'
    team_id => 'TEAM-ID-HERE',
});

AUTHOR

Mike Jones email:mike@netsplit.org.uk