se.michaelthelin.spotify.requests.data.search.simplified.SearchTracksRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-web-api-java Show documentation
Show all versions of spotify-web-api-java Show documentation
A Java client for Spotify's Web API
package se.michaelthelin.spotify.requests.data.search.simplified;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.neovisionaries.i18n.CountryCode;
import org.apache.hc.core5.http.ParseException;
import se.michaelthelin.spotify.exceptions.SpotifyWebApiException;
import se.michaelthelin.spotify.model_objects.specification.Paging;
import se.michaelthelin.spotify.model_objects.specification.Track;
import se.michaelthelin.spotify.requests.data.AbstractDataPagingRequest;
import se.michaelthelin.spotify.requests.data.AbstractDataRequest;
import se.michaelthelin.spotify.requests.data.search.SearchItemRequest;
import java.io.IOException;
/**
* Get Spotify catalog information about tracks that match a keyword string.
*/
@JsonDeserialize(builder = SearchTracksRequest.Builder.class)
public class SearchTracksRequest extends AbstractDataRequest> {
/**
* The private {@link SearchTracksRequest} constructor.
*
* @param builder A {@link SearchTracksRequest.Builder}.
*/
private SearchTracksRequest(final Builder builder) {
super(builder);
}
/**
* Search for tracks.
*
* @return A {@link Track} paging.
* @throws IOException In case of networking issues.
* @throws SpotifyWebApiException The Web API returned an error further specified in this exception's root cause.
*/
public Paging
© 2015 - 2024 Weber Informatics LLC | Privacy Policy