コード例 #1
0
ファイル: SpotifyService.cs プロジェクト: hypzeh/smallify
        public async Task <PlaybackResponse> GetPlaybackAsync()
        {
            await RefreshTokenAsync();

            return(Mapping.MapContext(await _api.GetPlaybackAsync()));
        }
コード例 #2
0
ファイル: SpotifyService.cs プロジェクト: hypzeh/smallify
        public async Task <ProfileResponse> GetCurrentUserAsync()
        {
            await RefreshTokenAsync();

            return(Mapping.MapProfile(await _api.GetPrivateProfileAsync()));
        }