| 1 | package Net::Async::Spotify::API::Personalization; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | our $VERSION = '0.002'; # VERSION | |||||||||
| 7 | 1 | our $AUTHORITY = 'cpan:VNEALV'; # AUTHORITY | |||||||||
| 8 | |||||||||||
| 9 | 1 | ▶ | use mro; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 1 | ▶ | use parent qw(Net::Async::Spotify::API::Generated::Personalization); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | 1 | ▶ | use Future::AsyncAwait; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | =encoding utf8 | ||||||||||
| 14 | |||||||||||
| 15 | =head1 NAME | ||||||||||
| 16 | |||||||||||
| 17 | Net::Async::Spotify::API::Personalization - Package representing Main Spotify Personalization API | ||||||||||
| 18 | |||||||||||
| 19 | =head1 DESCRIPTION | ||||||||||
| 20 | |||||||||||
| 21 | Main module for an Autogenerated one L<Net::Async::Spotify::API::Generated::Personalization>. | ||||||||||
| 22 | Will hold all extra functionality for Spotify Personalization API | ||||||||||
| 23 | |||||||||||
| 24 | =head1 METHODS | ||||||||||
| 25 | |||||||||||
| 26 | =cut | ||||||||||
| 27 | |||||||||||
| 28 | 0 | ▶ | async sub get_users_top_artists_and_tracks { | ||||||||
|
Subroutine
get_users_top_artists_and_tracks: not called CC=3 SCAR=24.8
Pod
documented
| |||||||||||
| 29 | 0 | my $self = shift; | |||||||||
| 30 | 0 | my %args = @_; | |||||||||
| 31 | 0 | ▶ | $self->mapping->{get_users_top_artists_and_tracks}{response} = ['Track'] if $args{type} eq 'tracks'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 32 | 0 | ▶ | $self->mapping->{get_users_top_artists_and_tracks}{response} = ['Artist'] if $args{type} eq 'artists'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 33 | 0 | await $self->next::method(@_); | |||||||||
| 34 | 1 | } | |||||||||
| 35 | |||||||||||
| 36 | 1 | 1; | |||||||||