warframe_metrics.utils.schema.Stat

class warframe_metrics.utils.schema.Stat(item_name)

Bases: object

A object to process and hold live and closed statistics.

Stat.add_live_stats(str_date, min_price, …)

Add live statistics.

Stat.add_stat(str_date, volume, min_price, …)

Add closed statistics.

Stat.from_json(json_data)

The object from a json format.

Stat.get_live_stats(stat_name[, buy])

Get the live statistics.

Stat.merge(other[, newer])

Merge two Stat object togther based on dates.

Stat.plot_stat(stat_to_plot)

Helper function to plot statistics.

Stat.plot_stats(stats_to_plot)

Helper function to plot multiple statistics.

Stat.to_json()

The object to json format.