Foursquare Specials API:foursquare如何退休特价?(Foursquare Specials API: How does foursquare retire specials?)

“州”财产是否变为“锁定”? 他们完全被删除了吗?

基本上,我存储了一个特殊的ID(以及一些数据),并希望在以后测试它是否仍然是有效的特殊。 实现这一目标的最佳方法是什么?

我已经无数次地通过特殊API,我找不到一个简单描述特殊是否“活跃”的属性。

任何帮助深表感谢。 谢谢!

Does the "state" property change to "locked"? Are they removed altogether?

Basically, I store the ID of a special (along with some of the data) and want to test whether it still is a valid special or not at a later date. What's the best way to accomplish this?

I've been through the specials API countless times, and I can't find a property that simply describes whether or not the special is "active".

Any help is much appreciated. Thanks!

最满意答案

如果特殊物品不能再兑换,则其状态将被设置为“锁定”。 有关详细信息,请参阅https://developer.foursquare.com/docs/responses/special 。

If a special can no longer be redeemed it's state will be set to "locked". See https://developer.foursquare.com/docs/responses/special for more details.

更多推荐