using System.Threading.Tasks; namespace SpotifyAPI.Web { /// /// Endpoints for retrieving information about a user’s profile. /// /// https://developer.spotify.com/documentation/web-api/reference-beta/#category-user-profile public interface IUserProfileClient { /// /// Get detailed profile information about the current user (including the current user’s username). /// /// /// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-current-users-profile /// /// Thrown if the client is not authenticated. Task Current(); /// /// Get public profile information about a Spotify user. /// /// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-users-profile /// Thrown if the client is not authenticated. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")] Task Get(string userId); } }