NAME

Weenect - API to Weenect tracker server

SYNOPSIS

use Weenect::API;
my $api = Weenect::API->new;

# Connect to the Weenect server.
$api->login( "me@example.com", "mypassword" );

# Get a list of trackers.
my $trackers = $api->get_trackers;

# Process tracker data.
foreach my $tracker ( $trackers->items->@* ) {
    printf("Tracker %s [%d%s]\n", $tracker->name, $tracker->id,
           $tracker->active ? "" : ",inactive" );
}

$api->logout;	# generally not needed

DESCRIPTION

This package facilitates connecting to the Weenect server and fetching user and tracker data.

See the programs in the scripts directory for examples.

LICENSE

Copyright (C) 2026, Johan Vromans

This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.