Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use Mojo::UserAgent; sub chatters { my $url = "https://tmi.twitch.tv/group/user/bobross/chatters"; return unless my $data = Mojo::UserAgent->new->get($url)->res->jso +n; map { @$_ } values %{ $data->{chatters} }; } @users = chatters(); print "@users\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Works on W10, but not on Debian
by haukex (Archbishop) on Jan 07, 2018 at 19:17 UTC | |
|
Re: Works on W10, but not on Debian
by marto (Cardinal) on Jan 07, 2018 at 19:19 UTC | |
|
Re: Works on W10, but not on Debian
by morgon (Priest) on Jan 07, 2018 at 19:07 UTC | |
|
Re: Works on W10, but not on Debian
by Anonymous Monk on Jan 08, 2018 at 00:48 UTC | |
by marto (Cardinal) on Jan 08, 2018 at 11:43 UTC | |
by i5513 (Pilgrim) on Jan 08, 2018 at 11:46 UTC | |
|
Re: Works on W10, but not on Debian
by Anonymous Monk on Jan 08, 2018 at 15:14 UTC |