Difference between revisions of "ChatWars API"
(The ChatWars API is the official way to interact with the game programmatically.) |
(No difference)
|
Revision as of 17:17, 18 May 2018
ChatWars API
The ChatWars API is the official way to
- receive (listen to)
- stock exchange updates (offers/deals)
- current lowest offers per item (sex_digest)
- list of open shops (yellow_pages)
- interact with player accounts (needs authorization)
- request player profile / stock information
- retrieve and make payments (pouches only)
- make buy requests in name of player (wtb/sniping)
Technology
The API is based on AMQP, a message queuing protocol. The used implementation is RabbitMQ.
API access
Request for API access via @ChatWarsFeedbackBot. You have to specify an "application" name (username), which queues you want to listen to and which grants you want to have. You get a username and a password. If you didn't get feedback within a day, request again.
You don't have to declare any queues or bind them to fanouts. Just consume your individual queues.
Further help
- Developers Castle Chat (only for real developers, sometimes rude.)
- ChatWars API updates channel
- CW API v0.6