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::Gitter - An interface to Gitter REST API via Perl 5.

VERSION

version 1.1.1

SYNOPSIS

use strict;
use warnings;
use WebService::Gitter;

my $git = WebService::Gitter->new(api_key => 'secret');

# user methods
# # get current logged in user
# $git->me();

# show data structure
$git->show_dst($method_name);

# group methods
# list groups
$git->groups();

# list rooms under group
$git->rooms_under_group();

# room methods
# list rooms
$git->rooms();

# list all users in the room
$git->room_users($room_id);

# messages methods
# list all messages in the room
$git->list_messages($room_id);

# get single message from message id
$git->single_message($room_id, $message_id);

# send message to a room/channel
$git->send_message($room_id, $text_to_send);

SEE ALSO

Gitter API documentation

AUTHOR

faraco <skelic3@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by faraco.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.