OPSkins / trade-opskins-api

API docs for trade.opskins.com
41 stars 19 forks source link

feature suggestion: user defined expiration #33

Closed ha1331 closed 6 years ago

ha1331 commented 6 years ago

Currently the trades expire in 2 weeks. I'm sure it's enough for slightly slower person to accept it, but I would be willing to bet 99% percentile is somewhere around a day. Instead of making the default smaller, perhaps make it possible to define how long the trade should be valid.

Voyager-Two commented 6 years ago

Interesting suggestion.

For now, you could add a system to cancel the trade offers after a certain period.

Voyager-Two commented 6 years ago

~Added to ITrade/SendOffer & ITrade/SendOfferToSteamId~

Thanks!

Voyager-Two commented 6 years ago

~Correction: only added to ITrade/SendOffer will be added to ITrade/SendOfferToSteamId soon (this week).~

Voyager-Two commented 6 years ago

Correction 2: We added it as a unix timestamp, will be changing it soon to seconds for simplicity. Avoid using the input for now.

Voyager-Two commented 6 years ago

Added expiration_time input about 2 weeks ago.

Thanks!