Search in sources :

Example 1 with Video

use of li.naska.bgg.resource.v3.model.Thing.Video in project bgg-api by tnaskali.

the class ThingsService method getVideos.

public Mono<List<Video>> getVideos(Integer id) {
    BggThingsQueryParams queryParams = new BggThingsQueryParams();
    queryParams.setId(id.toString());
    queryParams.setVideos(1);
    return getThing(queryParams).map(Thing::getVideos);
}
Also used : BggThingsQueryParams(li.naska.bgg.repository.model.BggThingsQueryParams) Thing(li.naska.bgg.resource.v3.model.Thing)

Aggregations

BggThingsQueryParams (li.naska.bgg.repository.model.BggThingsQueryParams)1 Thing (li.naska.bgg.resource.v3.model.Thing)1