NAME

WWW::Gitea::User - Gitea user entity

VERSION

version 0.001

SYNOPSIS

my $user = $gitea->users->get('getty');

print $user->login,     "\n";
print $user->full_name, "\n";
print $user->email,     "\n";

DESCRIPTION

Lightweight wrapper around the JSON returned for a Gitea user. The raw decoded data is always available via "data".

data

Raw decoded JSON for the user. Writable so "refresh" can update it in place.

id

Numeric user ID.

login

The user's login name.

full_name

The user's display name.

email

The user's email address (when visible).

avatar_url

URL of the user's avatar image.

is_admin

True if the user is a site administrator.

refresh

$user->refresh;

Re-fetches the user from Gitea and updates "data" in place.

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://codeberg.org/getty/p5-www-gitea/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

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