NAME

WWW::Suffit::Client::NoAPI - The Suffit API client library for NoAPI methods

SYNOPSIS

use WWW::Suffit::Client::NoAPI;

DESCRIPTION

This library provides NoAPI methods for access to Suffit API servers

NOAPI METHODS

List of predefined the Suffit NoAPI methods

download

my $status = $client->download("file.txt", "/tmp/file.txt");

Request for download an file from the server by file path. The method returns status of operation: 0 - Error; 1 - Ok

manifest

my $status = $client->manifest;

Gets list of files (manifest) from server The method returns status of operation: 0 - Error; 1 - Ok

remove

my $status = $client->remove("/foo/bar/file.txt");

Request for deleting the file from server. The method returns status of operation: 0 - Error; 1 - Ok

upload

my $status = $clinet->upload("/tmp/file.txt", "/foo/bar/file.txt");

Upload an file to the server by file path

DEPENDENCIES

Mojolicious, WWW::Suffit

TO DO

See TODO file

SEE ALSO

Mojo::UserAgent, WWW::Suffit::UserAgent

AUTHOR

Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2024 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses/