You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
channel.json needs upgrade in order to incorporate more channel related information, e.g. rate limit confs (#25).
Original design used a list as outmost layer.... We will change it to a dict so that further extensions are transparent. Put in v1 for this interface change. The channels field will also be a dict instead of a list.
This looks hairy... I may hold back the integration of rate limit in channel.json. Those can be put into another separate conf resource.json. Since rate limit is only valid in async mode, separating them may be a better idea. Users can start with a minimum channel.json and add more ingredients later if needed.
In an afterthought, channels: [] may be better. This is to enable fast generation of a min conf:
Use SNSPocket.new_channel or the new_channel of individual platforms.
Paste the channel confs (dicts) generated in this way into a JSON list and it's done.
The text was updated successfully, but these errors were encountered:
channel.json
needs upgrade in order to incorporate more channel related information, e.g. rate limit confs (#25).Original design used a list as outmost layer.... We will change it to a dict so that further extensions are transparent. Put in v1 for this interface change. The
channels
field will also be a dict instead of a list.One prototype of rate limit is in sina-automator.
The full fledged
channel.json
may look like:This looks hairy... I may hold back the integration of rate limit in
channel.json
. Those can be put into another separate confresource.json
. Since rate limit is only valid in async mode, separating them may be a better idea. Users can start with a minimumchannel.json
and add more ingredients later if needed.In an afterthought,
channels: []
may be better. This is to enable fast generation of a min conf:SNSPocket.new_channel
or thenew_channel
of individual platforms.The text was updated successfully, but these errors were encountered: