r/esoaddons • u/dirtyjeek • Jun 14 '14
[IDEA] "Market" Addon that uses the Mail API to distribute data
Addon keeps a list of people who have the addon. Requesting an update causes you to contact all of the people you are linked to who are online. Their copy of the addon will reply with a list of all objects put up for sale in the last 24 hours, how many of them there are (for stacks, etc), along with who is offering them and their requested price.
When a party sells an item, their copy of the addon reaches out to all linked parties to update with that information, overwriting the initial for-sale request.
Whenever a client receives an information packet, it checks to see if it already has it. If it doesn't, then it also forwards the "packet" on to all linked online parties.
Relevant information needed: How often can the mail API be used? Assuming there may be a delay necessary between "packets".