getItem function

Future<ServerResponse<DestinyItemResponse>> getItem(
  1. HttpClient http,
  2. GetItemParams params

Retrieve the details of an instanced Destiny Item. An instanced Destiny item is one with an ItemInstanceId. Non-instanced items, such as materials, have no useful instance-specific details and thus are not queryable here.


Future<ServerResponse<DestinyItemResponse>> getItem(HttpClient http, GetItemParams params) {
  return http.request(new HttpClientConfig(
      'components': params.components