Commit 83872718 authored by Roman Lacko's avatar Roman Lacko
Browse files

Update README.md

parent 0ce90d05
......@@ -13,10 +13,10 @@ my $gitlab = GitLab::API->new(
DieOnError => 1
);
my $users = $gitlab->users();
my $users = $gitlab->users(-iterator => 1);
say "Users in GitLab:";
foreach my $user (@$users) {
while (my $user = $users->next) {
say $user->{name};
}
......@@ -29,6 +29,7 @@ my $groups = $gitlab->groups(search => "pb161");
- core modules
- [`GitLab`](pod/GitLab.md)
- [`GitLab::API`](pod/GitLab-API.md)
- [`GitLab::API::Iterator`](pod/GitLab-API-Iterator.md)
- extensions
- [`GitLab::Groups`](pod/GitLab-Groups.md)
- [`GitLab::Namespaces`](pod/GitLab-Namespaces.md)
......@@ -45,4 +46,8 @@ my $groups = $gitlab->groups(search => "pb161");
- [`Try::Tiny`](https://metacpan.org/pod/Try::Tiny)
- [`URI`](https://metacpan.org/pod/URI)
- [`URI::Encode`](https://metacpan.org/pod/URI::Encode)
- [`URI::QueryParam`](https://metacpan.org/pod/URI::QueryParam)
\ No newline at end of file
- [`URI::QueryParam`](https://metacpan.org/pod/URI::QueryParam)
## Author
Roman Lacko <[`xlacko1@fi.muni.cz`](mailto:xlacko1@fi.muni.cz)>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment