The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::ChatWorkApi::UserAgent - A client to request to ChatWork REST API

SYNOPSIS

  uwe WebService::ChatWorkApi::UserAgent;
  my $ua = WebService::ChatWorkApi::UserAgent->new(
      api_token => $api_token,
  );
  my $res = $ua->get( "/me" );
  warn $res->dump;

DESCRIPTION

This module allows you to access the data which stored by ChatWork.

ChatWork API has very simple authentication way. It's required only `X-ChatWorkToken` header.

OAuth 2.0 may be released by ChatWork later, but for now it does not exist.

Except authentication, this module provides explicitly methods to how access the ChatWork API. And this module maps response to new response class.