use Net::Gotify;
my $gotify = Net::Gotify->new(
base_url => 'http://localhost:8088',
app_token => '<TOKEN>',
client_token => '<TOKEN>',
logger => $logger
);
$gotify->create_message(
title => 'Backup',
message => '**Backup** was successfully finished.',
priority => 2,
extras => {
'client::display' => {contentType => 'text/markdown'}
}
);Using Makefile.PL:
To install Net::Gotify distribution, run the following commands.
perl Makefile.PL
make
make test
make install
Using App::cpanminus:
cpanm Net::Gotify
perldoc Net::Gotify- https://metacpan.org/release/Net-Gotify
- https://gotify.net/
- Copyright 2025 © Giuseppe Di Terlizzi