Mail::JMAPTalk - Perl client for the http://jmap.io/ protocol
use Mail::JMAPTalk; my $Talk = Mail::JMAPTalk->new(url => $url); my $res = $jmap->Request([['setContacts', { create => { "#1" => {firstName => "first", lastName => "last"}, "#2" => {firstName => "second", lastName => "last"}, }}, "R1"]]); # [["contactsSet", {created => { "#1" => {...}, "#2" => {...} } }, "R1"]]
This is a really basic wrapper around the JMAP protocol. It has a rudimentary "Login" command as well, but it doesn't support the entire protocol yet.
http://jmap.io/ - protocol documentation and client guide.
Bron Gondwana, <brong@>
Copyright (C) 2015 by FastMail Pty Ltd.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.1 or, at your option, any later version of Perl 5 you may have available.
To install Mail::JMAPTalk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::JMAPTalk
CPAN shell
perl -MCPAN -e shell install Mail::JMAPTalk
For more information on module installation, please visit the detailed CPAN module installation guide.