getVendors function

Future<ServerResponse<DestinyVendorsResponse>> getVendors(
  1. HttpClient http,
  2. GetVendorsParams params

Get currently available vendors from the list of vendors that can possibly have rotating inventory. Note that this does not include things like preview vendors and vendors-as-kiosks, neither of whom have rotating/dynamic inventories. Use their definitions as-is for those.


Future<ServerResponse<DestinyVendorsResponse>> getVendors(HttpClient http, GetVendorsParams params) {
  return http.request(new HttpClientConfig(
      'components': params.components