ify.com/web-api/
Have access to a JSON viewer to help develop and debug. The Chrome JSON viewer is
very good and provides the exact path of the item within the JSON in the lower left
of the screen as
my $result;
$result = $spotify->album('0sNOF9WDwhWunNAHPD3Baj');
# $result is a json structure, you can operate on it directly
# or you can use the "get" method see below
$r
;
}
}
=head1 METHODS
=head2 get
Returns a specific item or array of items from the JSON result of the
last action.
$result = $spotify->search(
'tania bowra
ta::Dumper qw( Dumper );
use IO::CaptureOutput qw( capture );
use JSON::Path ();
use JSON::MaybeXS qw( decode_json );
use MIME::Base64 qw( encode_base64 );
use Types::Standard q
ault => q{}
);
has 'result_format' => (
is => 'rw',
isa => Str,
default => 'json'
);
has 'grab_response_header' => (
is => 'rw',
isa => Int,
default => 0
);
Str,
default => 'api'
);
has 'call_type' => (
is => 'rw',
isa => Str
);
has 'auto_json_decode' => (
is => 'rw',
isa => Int,
default => 0
);
has 'last_result' => (