API::MailboxOrg - Perl library to work with the API for the Mailbox.org API
version 1.0.2
use API::MailboxOrg;
use Data::Printer;
my $api = API::MailboxOrg->new(
user => 'test_name@example.tld',
password => 'test1234567789',
);
my $all_videochats = $api->videochat->list(
mail => 'test_name@example.tld',
);
p $all_videochats;
This is still pretty alpha. The API of this distribution might change.
-
base_uri
(optional) Default:
/v1
-
client
(optional) A
Mojo::UserAgent
compatible user agent. By default a new object ofMojo::UserAgent
is created. -
host
(optional) This is the URL to Mailbox.org API. Defaults to
https://api.mailbox.org
-
token
After authenticating, this will be the auth id.
- account
- backup
- base
- blacklist
- capabilities
- context
- domain
- hello
- invoice
- mailinglist
- password
- passwordreset
- spamprotect
- test
- user
- utils
- validate
- videochat
The Mailbox.org API documentation is available at https://api.mailbox.org/v1/doc/methods/index.html.
The distribution is contained in a Git repository, so simply clone the repository
$ git clone git://github.com/perlservices/API-MailboxOrg.git
and change into the newly-created directory.
$ cd API-MailboxOrg
The project uses Dist::Zilla
to
build the distribution, hence this will need to be installed before
continuing:
$ cpanm Dist::Zilla
To install the required prequisite packages, run the following set of commands:
$ dzil authordeps --missing | cpanm
$ dzil listdeps --author --missing | cpanm
The distribution can be tested like so:
$ dzil test
To run the full set of tests (including author and release-process tests),
add the --author
and --release
options:
$ dzil test --author --release
Renee Baecker reneeb@cpan.org
This software is Copyright (c) 2022 by Renee Baecker.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)