with 'Image::Randim::Source::Role';
sub get_image {
my $self = shift;
my $data = JSON->new->decode($self->get_response);
$data = $$data{'response'};
my $image = Image::Ra
on the provider's site to get the random image's
data.
This is typically a API call that returns JSON.
=head2 C<get_image>
Plugins must return an Image::Randim::Image object, which is populated
wit
In the SYNOPSIS example, you see that JSON is returned from the
get_response() call to the provider's API (which uses the provided
url()) -- and then that JSON is parsed into a hash that is used to