API-BigBlueButton
view release on metacpan or search on metacpan
lib/API/BigBlueButton/Requests.pm view on Meta::CPAN
package API::BigBlueButton::Requests;
=head1 NAME
API::BigBlueButton::Requests - processing of API requests
=cut
use 5.008008;
use strict;
use warnings;
use Digest::SHA1 qw/ sha1_hex /;
use Carp qw/ confess /;
use constant {
REQUIRE_CREATE_PARAMS => [ qw/ meetingID / ],
REQUIRE_JOIN_PARAMS => [ qw/ fullName meetingID password / ],
REQUIRE_ISMEETINGRUNNING_PARAMS => [ qw/ meetingID / ],
REQUIRE_END_PARAMS => [ qw/ meetingID password / ],
REQUIRE_GETMEETINGINFO_PARAMS => [ qw/ meetingID password / ],
REQUIRE_PUBLISHRECORDINGS_PARAMS => [ qw/ recordID publish / ],
REQUIRE_DELETERECORDINGS_PARAMS => [ qw/ recordID / ],
REQUIRE_SETCONFIGXML_PARAMS => [ qw/ meetingID configXML / ],
};
our $VERSION = "0.015";
=head1 VERSION
version 0.015
=cut
=head1 METHODS
=over
=item B<get_version($self)>
Getting the current version of the BigBlueButton
=cut
sub get_version {
my ( $self ) = @_;
my $url = $self->{use_https} ? 'https://' : 'http://';
$url .= $self->{server} . '/bigbluebutton/api';
return $self->request( $url );
}
=item B<create($self,%params)>
Create a meeting
%params:
name
This parameter is optional.
A name for the meeting.
meetingID
( run in 2.959 seconds using v1.01-cache-2.11-cpan-5735350b133 )