warframe_metrics.utils.collect_data.market_data

warframe_metrics.utils.collect_data.market_data(filters=None, progress_bar=False, timeout=1.0)

Collect data from warframe market API.

Collects information from the warframe market API. Waits 1 second every 10 items collected. This is to ensure we do not exceed limits.

Parameters
  • filters (Optional[Dict[str, Any]]) – A dictionary of ShortItem attributes to values that will be used to filter the items for which statistics will be collected. If no dictionary is provided, then the default dict of None filters nothing.

  • progress_bar (bool) – Whether to use a progress bar or not.

  • timeout (float) – The number of seconds to wait every ten items in order to reduce the load on warframe.market API.

Return type

ItemStats

Returns

An object of ItemStats that contains all the collected data.