All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.sonallux.spotify.api.apis.CategoriesApi Maven / Gradle / Ivy

The newest version!
package de.sonallux.spotify.api.apis;

import de.sonallux.spotify.api.http.ApiClient;
import de.sonallux.spotify.api.apis.categories.*;
import lombok.RequiredArgsConstructor;

/**
 * Categories
 */
@RequiredArgsConstructor
public class CategoriesApi {
    private final ApiClient apiClient;

    /**
     * 

Get Several Browse Categories

*

Get a list of categories used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).

* @return a {@link GetCategoriesRequest} object to build and execute the request */ public GetCategoriesRequest getCategories() { return new GetCategoriesRequest(apiClient); } /** *

Get Single Browse Category

*

Get a single category used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).

* @param categoryId

The Spotify category ID for the category.

* @return a {@link GetCategoryRequest} object to build and execute the request */ public GetCategoryRequest getCategory(String categoryId) { return new GetCategoryRequest(apiClient, categoryId); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy