public Task <Result <SearchResult> > Search(string query) => _authentication.GetAuthenticationHeader() .Then(x => _httpRequester.Get <SearchResult>( new Uri($"https://api.spotify.com/v1/search?q={HttpUtility.UrlEncode(query)}&type=track"), new HttpRequestInfo { Authentication = Some(x) }));
public async Task <Classifier> GetClassifierInformation(string classifierId, CancellationToken cancellationToken) { return(await httpRequester.Get <Classifier>($"{endPoint}/classifiers/{classifierId}")); }
public IRequestContentType Find(int id) { return(requester.Get(Resourse, id)); }