Search in sources :

Example 1 with MarketplaceListing

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

the class ThingsService method getMarketplacelistings.

public Mono<List<MarketplaceListing>> getMarketplacelistings(Integer id) {
    BggThingsQueryParams queryParams = new BggThingsQueryParams();
    queryParams.setId(id.toString());
    queryParams.setMarketplace(1);
    return getThing(queryParams).map(Thing::getMarketplacelistings);
}
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