We are proud to announce to you (well, not particulary to you, but to anyone) the first (it's the third, to be honest) version of the ChatWars public API. You may request access at @ChatWarsFeedbackBot
For now API provides:
- feeds with info on stock exchange deals and offers
- methods to authorize/identificate users
- payin-payout
* Ever wanted to be notified when your stuff is sold on exchange? Now you can ask your castle bot developer to consume
* Do you wish to know when someone misclicks and puts his wrappings for sale for 1💰? There is an
* You think that our tavern dices are rigged? Knock yourself out! You can write your own tavern. With dices! Payments API at your disposal!
(small font mode)
The API is somewhat unstable, because it is an early beta, you can tell by it's 0.3 version number, so more methods to come, stay tuned for news/updates/deprecations @chtwrsapi
Oh, here is the link: https://hackmd.io/s/BkRhPEt4f
For now API provides:
- feeds with info on stock exchange deals and offers
- methods to authorize/identificate users
- payin-payout
* Ever wanted to be notified when your stuff is sold on exchange? Now you can ask your castle bot developer to consume
deals for this! * Do you wish to know when someone misclicks and puts his wrappings for sale for 1💰? There is an
offers feed exactly for that reason!* You think that our tavern dices are rigged? Knock yourself out! You can write your own tavern. With dices! Payments API at your disposal!
(small font mode)
The API is somewhat unstable, because it is an early beta, you can tell by it's 0.3 version number, so more methods to come, stay tuned for news/updates/deprecations @chtwrsapi
Oh, here is the link: https://hackmd.io/s/BkRhPEt4f
Here is an example of simple interaction with
The resulting channel would look like https://t.me/chtwrsExchange
deals feed: https://gist.github.com/sad-unicorn/81956b1025a4f5ca11c2fffe48a4281aThe resulting channel would look like https://t.me/chtwrsExchange
Gist
cwsexlog.go
GitHub Gist: instantly share code, notes, and snippets.
And yeah, here is @cwapi group for you (developers only!) to talk about development and share thoughts.
#faq If you experiencing any 'ACCESS_REFUSED' errors while trying to work with queues, please be sure that you aren't trying to declare anything. Everything is pre-declared for you. Just consume/publish right away.
#faq some python users are experiencing timeouts trying to connect to API, so here is simple, presumably working, example https://gist.github.com/BlaQPhoeniX/d75cdd7499217ec225ef6722668eb59b
If you are getting
NotRegistered result for getInfo action, this means that we forgot to actually register your application, and payin/payout wouldn't work for you. Please report to feedback or whine a bit at @cwapi chat.Wellp, there was a little *ahem* outage during the last 5 hours, due to recent network failure. Please report such an incidents to @ChatWarsFeedbackBot
And here comes ... TEH API UPDATE! It looks insignificant, but in fact it is almost a complete rewrite. So except some turbulance here and there.
Starting from version 0.4, applications will be able to read stock and profile info of the users, if they are granted access of course. And there is a new feed for exchange with top 5 offers for each item. Stay tuned.
https://hackmd.io/s/rJb2odE_f
Starting from version 0.4, applications will be able to read stock and profile info of the users, if they are granted access of course. And there is a new feed for exchange with top 5 offers for each item. Stay tuned.
https://hackmd.io/s/rJb2odE_f
Darnit! Forgot to mention. Rabbit is going (already gone) for maintenance.
PS: But hey, at least I posted it.
PS: But hey, at least I posted it.