Offer

class urmarketscraper.offer.Offer(id=0, level_price_dict=None)
get_min_level()

Return level for lowest price in dict

get_min_price()

Return lowest price in dict

get_rel_level(target_level)

Return target level, or min level if not available

get_rel_price(target_level)

Return price of target level, or min price if not available

property id

The character id this offer refers to.

Getter

Returns this Offer’s id

Setter

Sets this Offer’s id

Type

int (conversion is applied)

property level_price_dict

The dictionary of level-to-price relationships for this offer.

Getter

Returns this Offer’s level-price-dict

Setter

Sets this Offer’s level-price-dict

Type

dict (sets to None if not type conformant)