Bb-Collaborate-Ultra
view release on metacpan or search on metacpan
lib/Bb/Collaborate/Ultra.pm view on Meta::CPAN
package Bb::Collaborate::Ultra;
=head1 NAME
Bb::Collaborate::Ultra - Perl bindings for Blackboard Ultra virtual classrooms
=head1 VERSION
Version 0.01.02
=cut
use strict;
our $VERSION = '0.01.02';
use 5.008003;
=head1 SYNOPSIS
use Bb::Collaborate::Ultra::Connection;
use Bb::Collaborate::Ultra::Session;
use Bb::Collaborate::Ultra::User;
use Bb::Collaborate::Ultra::LaunchContext;
my %credentials = (
issuer => 'OUUK-REST-API12340ABCD',
secret => 'ABCDEF0123456789AA',
host => 'https://xx-csa.bbcollab.com',
);
# connect to server
my $connection = Bb::Collaborate::Ultra::Connection->new(\%credentials);
$connection->connect;
# create a virtual classroom, starts now runs, for 15 minutes
my $start = time() + 60;
my $end = $start + 900;
my $session = Bb::Collaborate::Ultra::Session->post($connection, {
name => 'Test Session',
startTime => $start,
endTime => $end,
},
);
# define a session user
my $user = Bb::Collaborate::Ultra::User->new({
extId => 'dwarring',
displayName => 'David Warring',
email => 'david.warring@gmail.com',
firstName => 'David',
lastName => 'Warring',
});
# register the user. obtain a join URL
my $launch_context = Bb::Collaborate::Ultra::LaunchContext->new({
launchingRole => 'moderator',
editingPermission => 'writer',
user => $user,
});
my $url = $launch_context->join_session($session);
=head1 BACKGROUND
Blackboard Collaborate Ultra is software for virtual web classrooms. It is
suitable for meetings, demonstrations web conferences, seminars, general
training and support.
Bb-Ultra is a set of Perl bindings and entity definitions for the
Collaborate REST services. These can be used to administer classrooms,
including sessions, users and recordings.
=head1 DESCRIPTION
This Perl 5 module provides bindings to the the Collaborate (*) Services RESTful API. These support the CRUD and processing operations for the scheduling and access to HTML sessions.
These services are described in L<https://xx-csa.bbcollab.com/documentation>.
=head2 Resource Classes
Each resource class is represented by a Perl 5 class:
=over 4
=item Context - L<Bb::Collaborate::Ultra::Context> (see L<Context Documentation|https://xx-csa.bbcollab.com/documentation#Context>)
=item Session - L<Bb::Collaborate::Ultra::Session> (see L<Session Documentation|https://xx-csa.bbcollab.com/documentation#Session>)
=item Recording - L<Bb::Collaborate::Ultra::Recording> (see L<Recording Documentation|https://xx-csa.bbcollab.com/documentation#Recording>)
=item Session Logs - L<Bb::Collaborate::Ultra::Session::Log> (see L<Session Documentation|https://xx-csa.bbcollab.com/documentation#Attendee-collection>)
( run in 2.798 seconds using v1.01-cache-2.11-cpan-cdf2f3d4e48 )